/* ===== PAGE BACKGROUND ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fb; /* soft professional background */
}

/* ===== SECTION ===== */
.certicates-downloads {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    width: 100%;
    max-width: 420px;

    background: #ffffff;
    padding: 35px;
    border-radius: 18px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;

    animation: fadeIn 0.6s ease-in-out;
    transition: 0.3s;
}

/* Hover effect */
.form-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* ===== TITLE ===== */
.form-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

/* ===== INPUT GROUP ===== */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

/* Labels */
label {
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

/* Inputs & Select */
select,
input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;

    background: #f9f9f9;
    color: #333;

    outline: none;
    transition: all 0.3s ease;
}

/* Placeholder */
input::placeholder {
    color: #999;
}

/* Focus effect */
select:focus,
input:focus {
    background: #fff;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* ===== BUTTON ===== */
.search-btn {
    width: 100%;
    padding: 13px;
    border: none;

    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;

    transition: all 0.3s ease;
}

/* Hover */
.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

/* Click */
.search-btn:active {
    transform: scale(0.97);
}

/* ===== RESULT BOX ===== */
.result-box {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

/* Success */
.result-box p {
    color: #28a745;
    font-weight: 500;
}

/* Link */
.result-box a {
    display: inline-block;
    margin-top: 6px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.result-box a:hover {
    text-decoration: underline;
}

/* ===== HIDDEN ===== */
.hidden {
    display: none;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE ===== */
@media (max-width: 500px) {

    .form-container {
        padding: 25px;
        border-radius: 15px;
    }

    .form-title {
        font-size: 20px;
    }

    select,
    input {
        font-size: 13px;
        padding: 10px;
    }

    .search-btn {
        padding: 11px;
        font-size: 14px;
    }
}