body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.error-message {
    background: linear-gradient(135deg, #fdecea 0%, #f8d7da 100%);
    color: #721c24;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #dc3545;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.login-box {
    background: white;
    padding: 50px 40px;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    width: 180px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.login-box h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-box input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.login-box input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 18px;
    margin-bottom: 0;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0 10px 10px 0;
    font-size: 16px;
    z-index: 10;
    width: 45px;
    height: 100%;
}

.password-toggle:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.password-toggle:active {
    transform: scale(0.95);
}

.password-wrapper input:focus ~ .password-toggle {
    color: #3498db;
}

.password-toggle i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    cursor: pointer;
}

.remember-me input {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot:hover {
    color: #2980b9;
    text-decoration: underline;
}

.login-box button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.login-box button:active {
    transform: translateY(0);
}

.register-link {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #555;
}

.register-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.error {
    background: linear-gradient(135deg, #fdecea 0%, #f8d7da 100%);
    color: #721c24;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}
