/* Apply border-box to all elements */
*, *::before, *::after {
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* Header */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header h1 {
    font-size: 1.8rem;
}

.header nav {
    margin-top: 10px;
}

.header nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1rem;
}

/* Login Form Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 160px);
}

/* Card */
.login-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-card h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: #2c3e50;
}

/* Inputs */
.login-card label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.login-card input, .login-card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.login-card span.select2 {
    margin-bottom: 20px;
}

/* Button */
.login-card button {
    width: 100%;
    background-color: #16a085;
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.login-card button:hover {
    background-color: #138d75;
}

/* Forgot Password */
.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    color: #2c3e50;
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.text-sm.text-red-600 {
    font-size: 0.875rem;
    color: #e3342f;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header nav {
        margin-top: 10px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-card h2 {
        font-size: 1.5rem;
    }

    .login-card input,
    .login-card select,
    .login-card button {
        font-size: 0.95rem;
    }

    .login-container {
        padding: 40px 16px;
        background-position: top;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .header nav a {
        font-size: 0.9rem;
        margin-left: 12px;
    }

    .footer {
        font-size: 0.85rem;
    }
}


