html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: #0f172a; 
    color: #f8fafc; 
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.overlay {
    background-color: rgba(15, 23, 42, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.main-content {
    flex: 1 0 auto;
    padding: 40px 20px;
}
.container { 
    max-width: 500px; 
    margin: 40px auto; 
    background: rgba(30, 41, 59, 0.85); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.4); 
    border: 1px solid rgba(51, 65, 85, 0.6); 
}
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; 
    object-fit: cover;
}
h2 { text-align: center; margin-top: 0; color: #38bdf8; font-size: 24px; margin-bottom: 5px; }
.subtitle { text-align: center; color: #94a3b8; font-size: 13px; margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: #cbd5e1; font-size: 14px; }
input[type="text"], input[type="password"], select { width: 100%; padding: 12px 14px; box-sizing: border-box; border: 2px solid #475569; background: #0f172a; color: white; border-radius: 6px; font-size: 15px; text-align: center; letter-spacing: 0.5px; }
input:focus, select:focus { border-color: #38bdf8; outline: none; }
.btn { width: 100%; padding: 12px; border: none; font-weight: bold; border-radius: 6px; cursor: pointer; font-size: 15px; background: #0284c7; color: white; transition: background 0.2s; margin-bottom: 10px; }
.btn:hover { background: #0369a1; }
.btn:disabled { background: #64748b; cursor: not-allowed; }
.btn-danger { background: #ef4444; }
.btn-danger:hover { background: #dc2626; }
.rose-swal-popup { background-color: #1e293b !important; color: #f8fafc !important; border: 1px solid #334155 !important; border-radius: 12px !important; }
.rose-swal-title { color: #38bdf8 !important; }
.site-footer { flex-shrink: 0; background-color: #0b0f19; border-top: 1px solid #1e293b; padding: 20px 10px; text-align: center; font-size: 13px; color: #64748b; }
.footer-links { margin-bottom: 10px; }
.footer-links a { color: #38bdf8; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.footer-links a:hover { color: #7dd3fc; text-decoration: underline; }
.copyright { margin-top: 5px; letter-spacing: 0.5px; }
.language-switcher { position: absolute; top: 24px; right: 24px; display: flex; gap: 10px; z-index: 9999; }
.lang-btn { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(51, 65, 85, 0.5); cursor: pointer; padding: 6px 14px; opacity: 0.5; border-radius: 6px; transition: all 0.2s ease; display: inline-flex; align-items: center; }
.lang-btn:hover, .lang-btn.active { opacity: 1; background: #0284c7; border-color: #38bdf8; transform: scale(1.05); }
.lang-text { color: #f8fafc; font-weight: bold; font-size: 14px; text-transform: lowercase; letter-spacing: 0.5px; }
.hidden { display: none !important; }

.item-tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.item-tooltip-box {
    display: none;
    position: absolute;
    
    top: 50%;        
    margin-top: 5px;      
    
    left: 5%;
    transform: translateX(-180%);
    
    width: 250px;
    background-color: rgba(15, 23, 42, 0.95);
    border: 2px solid #38bdf8;
    border-radius: 8px;
    padding: 10px;
    text-align: left;
    font-size: 12px;
    z-index: 999;
    pointer-events: none;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}
