* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    padding: 32px 24px 24px;
    text-align: center;
    background: transparent;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #666;
    font-size: 15px;
    font-weight: 400;
}

.login-content {
    padding: 0 32px 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #444;
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #8BCDC2;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 205, 194, 0.15);
}

.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 16px;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toggle-password .fa-eye,
.toggle-password .fa-eye-slash {
    transition: all 0.2s ease;
}

.toggle-password:hover {
    color: #69BAAF;
    background: rgba(105, 186, 175, 0.1);
}

.toggle-password.showing .fa-eye {
    display: none;
}

.toggle-password:not(.showing) .fa-eye-slash {
    display: none;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #69BAAF 0%, #8BCDC2 100%);
    border: none;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(105, 186, 175, 0.2);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(105, 186, 175, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.footer {
    color: #888;
    padding: 15px;
    font-style: italic;
    text-align: center;
    width: 100%;
    font-size: 14px;
}

.alert {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 10px;
    font-size: 14px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.error {
    background-color: #FFE6E6;
    border-left: 4px solid #FF6B6B;
    color: #C53030;
}

.alert.warning {
    background-color: #FFF9E6;
    border-left: 4px solid #FFD93D;
    color: #B7791F;
}

.alert.success {
    background-color: #E6F7EE;
    border-left: 4px solid #48BB78;
    color: #2D7730;
}

.closebtn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: inherit;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.7;
}

.closebtn:hover {
    opacity: 1;
}

.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 205, 194, 0.1) 0%, rgba(105, 186, 175, 0.05) 100%);
    z-index: -1;
}

.decoration-1 {
    top: 10%;
    left: 10%;
}

.decoration-2 {
    bottom: 10%;
    right: 10%;
}

.login-container {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .login-container {
        max-width: 100%;
        border-radius: 12px;
    }

    body {
        padding: 15px;
    }

    .login-content {
        padding: 0 24px 24px;
    }

    .decoration {
        display: none;
    }
}