/* ==================== RESET & BASE ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
}

/* ==================== CONTAINER ==================== */

.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* ==================== HEADER ==================== */

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 48px;
    color: #2a6bb1;
    animation: fadeInDown 0.6s ease-in-out;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0;
}

.subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #2a6bb1;
    margin-bottom: 10px;
}

.description {
    font-size: 14px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== FORM STYLES ==================== */

.search-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

    .form-label i {
        margin-right: 8px;
        color: #2a6bb1;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

    .form-control:hover {
        border-color: #2a6bb1;
    }

    .form-control:focus {
        outline: none;
        border-color: #2a6bb1;
        box-shadow: 0 0 0 3px rgba(42, 107, 177, 0.1);
    }

.submit-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #2a6bb1, #1e4f7c);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(42, 107, 177, 0.2);
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(42, 107, 177, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        box-shadow: none;
    }

    .submit-btn i {
        margin-right: 8px;
    }

/* ==================== FOOTER ==================== */

.site-footer {
    background-color: #f5f7fa;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

    .site-footer p {
        margin-bottom: 15px;
    }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-link {
    color: #2a6bb1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: #1e4f7c;
        text-decoration: underline;
    }

/* ==================== ANIMATIONS ==================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.redirect-form-container {
    animation: slideInUp 0.6s ease-in-out 0.2s both;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .logo-text {
        font-size: 24px;
    }

    .subtitle {
        font-size: 16px;
    }

    .description {
        font-size: 13px;
    }

    .logo-icon {
        font-size: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .layout-wrapper {
        margin-top: 20px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon {
        font-size: 36px;
    }

    .subtitle {
        font-size: 14px;
    }

    .description {
        font-size: 12px;
    }

    .header {
        margin-bottom: 30px;
    }

    .redirect-form-container {
        padding: 20px;
    }

    .submit-btn {
        width: 100% !important;
        padding: 14px !important;
    }

    .site-footer {
        padding: 20px 10px;
    }
}

/* ==================== UTILITY CLASSES ==================== */

.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.text-primary {
    color: #2a6bb1;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}
