body {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    background: white;
            font-family: 'Trebuchet MS', sans-serif;
}

.login-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

.login-form{
    width: 100%;
}
.auth-box {
    box-shadow: 0px 4px 16px rgba(2, 132, 199, 0.25);
    background: #fff;
    margin: 110px 0 20px 0;
    width: 100%;
    max-width: 350px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 18px;
    align-items: center;
    transition: box-shadow 0.2s;
}

.auth-box h3 {
    color: #0284c7;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 18px 0;
    letter-spacing: 1px;
}

.form-group {
    width: 100%;
    margin-bottom: 18px;
}

label {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}

.form-control {
    width: 92%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border 0.2s;
    margin-top: 4px;
    margin-bottom: 2px;
        box-shadow: 0px 4px 16px rgba(2, 132, 199, 0.25);
}

.form-control:focus {
    border-color: #0284c7;
    outline: none;
    background: #e0f2fe;
       box-shadow: 0px 8px 24px rgba(2, 132, 199, 0.4);
}

.form-control.is-invalid {
    border-color: #e11d48;
    background: #fef2f2;
    
}

.btn-custom {
    box-shadow: 0px 4px 16px rgba(2, 132, 199, 0.25);
    background: linear-gradient(90deg, #0284c7, #075985);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 8px;
}

.btn-custom:hover {
    box-shadow: 0px 8px 24px rgba(2, 132, 199, 0.4);
    background: linear-gradient(90deg, #075985, #0284c7);
    transform: translateY(-2px) scale(1.03);
}

.alert {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 0.98rem;
    text-align: center;
}

.alert-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.alert-success {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #6ee7b7;
}

.d-flex {
    display: flex;
    flex-direction: column;
}

.d-flex p{
margin: 5px 0;
text-align: center;
}

.justify-content-between {
    justify-content: space-between;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.w-100 {
    width: 100%;
}

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

a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: #075985;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .auth-box {
        margin: 10px auto;
        padding: 30px 20px;
        width: 95%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .auth-box h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .form-control {
        width: 100% !important;
        font-size: 1rem;
        padding: 10px 14px;
        margin: 8px 0;
        box-sizing: border-box;
    }

    .form-group,
    .row,
    .col-md-6 {
        flex-direction: column;
        width: 100% !important;
        gap: 0 !important;
    }

    .row {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .btn-custom {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }

    .alert {
        font-size: 0.95rem;
    }

    .login-content {
        height: auto;
        margin-top: 60px;
        min-height: 100vh;
    }

    .text-center,
    .d-flex p {
        font-size: 0.95rem;
        text-align: center;
    }

    .footer {
        padding: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .auth-box h3 {
        font-size: 1.3rem;
    }

    .form-control {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .btn-custom {
        font-size: 0.95rem;
    }

    .alert {
        font-size: 0.9rem;
    }
}
