/* ============================================
   Workshop Management System - Login Page CSS
   Enterprise Glassmorphism Design
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

.login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.login-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.login-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.login-container {
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 20px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo-img {
    max-height: 70px;
    max-width: 200px;
    object-fit: contain;
}

.login-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}

.login-card .text-muted {
    font-size: 14px;
    color: #6c757d;
}

.input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #6c757d;
    font-size: 14px;
}

.form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: none;
}

.toggle-password {
    cursor: pointer;
    background: #f8f9fa;
}

.toggle-password:hover {
    background: #e9ecef;
}

.btn-login {
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    background: linear-gradient(135deg, #0b5ed7 0%, #5a0cd4 100%);
}

.form-check-label {
    font-size: 14px;
    color: #555;
}

.login-card a {
    font-size: 14px;
    font-weight: 500;
    color: #0d6efd;
    transition: color 0.3s;
}

.login-card a:hover {
    color: #6610f2;
    text-decoration: underline;
}

.login-footer p {
    font-size: 12px;
    color: #999;
}

.version-badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    margin-top: 5px;
}

.alert {
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 15px;
    margin-bottom: 15px;
}

.live-clock {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.clock-time {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.clock-date {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .glass-card { padding: 30px 20px; }
    .login-container { padding: 15px; }
    .clock-time { font-size: 28px; }
}