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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.login-wrapper {
    position: relative;
    z-index: 2;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.logo-section {
    text-align: center;
    margin-bottom: 35px;
}

.logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo i {
    font-size: 32px;
    color: white;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 14px;
    color: #718096;
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 5px;
}

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

.input-wrapper {
    position: relative;
}

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

.form-control {
    height: 40px;
    padding-left: 45px;
    border: 1.5px solid #e2e8f0;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
}

.toggle-password:hover {
    color: #2a5298;
}

.btn-login {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 82, 152, 0.3);
}

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

.footer-text {
    text-align: center;
    margin-top: 25px;
    color: #718096;
    font-size: 13px;
}
.alert-dismissible .btn-close {
    padding: 0.8rem !important;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 25px;
    }
}
