/* ===== FORM PAGE LAYOUT ===== */
.form-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(120deg, #f5f7fb, #eef1f7);
    padding: 20px;
}

/* ===== FLOATING SEARCH BAR ===== */
.form-search-wrapper {
    width: 100%;
    background: #1e3a8a;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 999;
}

.form-search {
    max-width: 600px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.form-search form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.form-search input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-search button {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-search button:hover {
    background: #1e40af;
}

/* ===== FORM CARD ===== */
.form-card {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.form-card h2 {
    margin-bottom: 20px;
    text-align: center;
}

/* ===== INPUT GROUP ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2b6cff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 108, 255, 0.1);
}

.form-group input[type="file"] {
    border: none;
}

/* ===== BUTTON ===== */
.form-btn {
    width: 100%;
    background: #2b6cff;
    color: #fff;
    padding: 13px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-btn:hover {
    background: #1f4ed8;
}

/* ===== LINKS UNDER FORM ===== */
.form-footer {
    text-align: center;
    margin-top: 15px;
}

.form-footer a {
    color: #2b6cff;
    text-decoration: none;
    font-weight: 600;
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert.error {
    background: #ffe5e5;
    color: #cc0000;
}

.alert.success {
    background: #e6ffed;
    color: #008a2e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-search form {
        flex-direction: column;
        gap: 8px;
    }

    .form-search input,
    .form-search button {
        width: 100%;
    }

    .form-card {
        margin-top: 20px;
    }
}