body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-image: url('/static/etrike-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    height: 100vh; 
    margin: 0; 
    position: relative;
    overflow: hidden;
    overscroll-behavior: none;
}

.login-box { 
    background: rgba(255, 255, 255, 0.95); 
    padding: 2rem 2rem; 
    border-radius: 10px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 335px;
    max-width: 335px;
    max-height: 315px;
    position: relative;
    z-index: 2;
    margin-right: 15rem;
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo h1 {
    color: #059669;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo p {
    color: #0d9488;
    font-size: 0.85rem;
    margin: 0.3rem 0 0 0;
    font-weight: 500;
}

.input-group {
    position: relative;
    margin: 0.6rem 0;
}

input { 
    width: 100%; 
    padding: 0.8rem; 
    padding-right: 3.5rem;
    border: 2px solid #e5e7eb; 
    border-radius: 10px; 
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.password-toggle {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    font-size: 1rem;
    padding: 0.2rem;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: -1px;
}

.password-toggle.show {
    display: flex;
}

.password-toggle:hover,
.password-toggle:focus,
.password-toggle:active {
    outline: none;
    color: #374151;
    background: none;
    transform: translateY(-50%);
}

button { 
    width: 100%; 
    padding: 0.8rem; 
    background: linear-gradient(135deg, #059669, #0d9488); 
    color: white; 
    border: none; 
    border-radius: 10px; 
    cursor: pointer; 
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
}

button:hover { 
    background: linear-gradient(135deg, #047857, #0f766e); 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.error { 
    color: #dc2626; 
    margin: 1rem 0; 
    padding: 0.75rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}
