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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #b8c6db 0%, #d4dce5 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 380px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.logo {
    width: 80px;
    height: 80px;
    position: relative;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    color: #5f6368;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    padding-left: 4px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #202124;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    background: #ffffff;
    border-color: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
}

.form-input:hover {
    border-color: #9ca3af;
}

.form-input::placeholder {
    color: transparent;
}

.input-icon, .toggle-password {
    position: absolute;
    right: 14px;
    color: #6b7280;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.input-icon {
    pointer-events: none;
}

.toggle-password {
    cursor: pointer;
    user-select: none;
}

.toggle-password:hover {
    color: #1976D2;
    transform: scale(1.1);
}

.toggle-password:active {
    transform: scale(0.95);
}

.form-input:focus ~ .input-icon,
.form-input:focus ~ .toggle-password {
    color: #1976D2;
}

.input-icon svg, .toggle-password svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 16px;
    padding-left: 2px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

.error-message i {
    width: 20px;
    height: 20px;
}

.error-message svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.btn-login {
    margin-top: 8px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}