/* Login Page Custom Styles */
.login-wrapper {
}

@media screen and (max-width: 768px) {
    .login-wrapper {
        margin-top: 0px;
    }
}

.login-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.login-header {
    background-color: #4b90d0;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.login-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.login-header h3 i {
    margin-right: 10px;
    font-size: 24px;
}

.login-body {
    padding: 30px 25px;
}

.login-form label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.login-form .form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #dce4ec;
    transition: all 0.3s ease;
    box-shadow: none;
}

.login-form .form-control:focus {
    border-color: #4b90d0;
    box-shadow: 0 0 0 3px rgba(75, 144, 208, 0.1);
}

.login-form .input-icon {
    position: relative;
}

.login-form .input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 16px;
}

.login-form .input-icon input {
    padding-left: 40px;
}

.captcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.remember-me {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.login-actions {
    margin-top: 25px;
}

.btn-login {
    background-color: #4b90d0;
    color: white;
    border: none;
    height: 45px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-login:hover, .btn-login:focus {
    background-color: #3978b3;
    color: white;
    box-shadow: 0 4px 10px rgba(75, 144, 208, 0.3);
}

.btn-login i {
    margin-left: 8px;
}

.secondary-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-register {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-register:hover, .btn-register:focus {
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

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

.forgot-password {
    display: inline-flex;
    align-items: center;
    color: #e74c3c;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover, .forgot-password:focus {
    color: #c0392b;
    text-decoration: none;
}

.forgot-password i {
    margin-right: 8px;
}

.alert {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert i {
    margin-right: 10px;
    font-size: 18px;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: #d35400;
    border-left: 4px solid #f39c12;
}

.alert-success {
    text-align: center;
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left: 4px solid #2ecc71;
    padding: 25px 15px;
}

.alert-success i {
    display: block;
    margin: 0 auto 15px;
    font-size: 40px;
}

.logout-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.logout-btn:hover, .logout-btn:focus {
    background-color: #c0392b;
    color: white;
    text-decoration: none;
}

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

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

@media (max-width: 576px) {
    .login-container {
        border-radius: 0;
        box-shadow: none;
    }

    .login-wrapper {
        padding: 0;
        background-color: #fff;
    }

    .secondary-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-register, .forgot-password {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
