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

body {
    font-family: 'Segoe UI', 'Yu Gothic UI', 'Meiryo UI', sans-serif;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 50%, #dfe1e6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid #e0e2e7;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #8c9ab0 0%, #b0bec5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(140, 154, 176, 0.3);
}

.login-header .logo-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.login-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.login-header p {
    font-size: 15px;
    color: #8a95a3;
    letter-spacing: 0.3px;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dde1e8, transparent);
    margin-bottom: 32px;
}

.alert-error {
    background: #fff5f5;
    border: 1px solid #fcc;
    border-left: 4px solid #e74c3c;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
    color: #c0392b;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-logout {
    background: #f0faf5;
    border: 1px solid #b7e4cc;
    border-left: 4px solid #27ae60;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
    color: #1e8449;
    font-size: 15px;
}

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

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aab4c0;
}

.input-wrapper .input-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-group input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1.5px solid #d8dce4;
    border-radius: 8px;
    font-size: 16px;
    color: #2c3e50;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: #8c9ab0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(140, 154, 176, 0.15);
}

.form-group input::placeholder {
    color: #c0c8d4;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #8c9ab0 0%, #6b7d94 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(107, 125, 148, 0.35);
    margin-top: 8px;
}

.btn-login:hover {
    opacity: 0.92;
    box-shadow: 0 4px 12px rgba(107, 125, 148, 0.45);
}

.btn-login:active {
    transform: translateY(1px);
    box-shadow: 0 1px 4px rgba(107, 125, 148, 0.3);
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: #aab4c0;
}
