/* Theme: Ultra Professional Dark Mode V2 (Enhanced by Gemini) */
:root {
    --bg: #0d1117;
    --bg-light: #161b22; /* हल्का बैकग्राउंड */
    --panel: #21262d;
    --muted-border: #30363d;
    --accent-blue: #58a6ff;
    --accent-green: #3fb950; /* थोड़ा ब्राइट हरा */
    --accent-red: #f85149;
    --accent-purple: #a371f7;
    --accent-orange: #f0ad4e;
    --text: #c9d1d9;
    --gold: #ffd700;
    --pink: #ff007a;
    --glow-blue: rgba(88, 166, 255, 0.4);
    --glow-red: rgba(248, 81, 73, 0.4);
    --glow-green: rgba(63, 185, 80, 0.4);
}

/* --- Main Background & Body --- */
body { 
    height: 100vh;
    margin:0; 
    padding:0; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color:var(--text); 
    box-sizing:border-box;
    background-color: #0b0713;
    background-image: radial-gradient(circle at center, #ffd04e 0%, #ff456a 18%, #0b0713 40%);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
* { box-sizing: inherit; }

/* --- New Animated Grid Overlay --- */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255,105,180,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,105,180,0.05) 1px, transparent 1px);
    background-size: 35px 35px;
    animation: moveGrid 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes moveGrid {
    from { background-position: 0 0; }
    to { background-position: 35px 35px; }
}

/* --- New Corner Text (HUD) --- */
.corner-text {
    position: fixed;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 12px;
    color: rgba(255, 105, 180, 0.5);
    z-index: 2;
}
.top-left { top: 20px; left: 20px; }
.top-right { top: 20px; right: 20px; }
.bottom-left { bottom: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }


/* Screens */
.screen { display:none; width:100%; height:100%; align-items:center; justify-content:center; flex-direction:column; position: relative; z-index: 5; }

/* --- New Main Console Button --- */
#console-login-button {
    background-color: var(--pink);
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    animation: pulse 2s infinite;
}
#console-login-button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    animation-play-state: paused;
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(255,0,122,0.4); }
    50% { box-shadow: 0 0 25px rgba(255,0,122,0.8); }
    100% { box-shadow: 0 0 10px rgba(255,0,122,0.4); }
}

/* --- [UPDATED] Auth Modal Styles with Glassmorphism --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: none; 
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-panel {
    background: #1c1c2d;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    width: 400px;
    max-width: 95%;
    color: #fff;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.auth-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.auth-title { font-size: 20px; font-weight: 700; margin: 0; }
.close-button { background: none; border: none; color: #8b949e; font-size: 24px; cursor: pointer; padding: 0 8px; position: absolute; top: 10px; right: 10px; z-index: 20; }
.input-container { position: relative; margin-bottom: 20px; }
#username-input, #password-input { width: 100%; padding: 14px 45px 14px 16px; background-color: #2a2a42; border: 1px solid #444466; border-radius: 8px; color: #fff; font-size: 16px; transition: border-color 0.3s ease; }
#username-input:focus, #password-input:focus { outline: none; border-color: var(--pink); }
.input-arrow { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #8b949e; font-size: 24px; cursor: pointer; }
.divider { text-align: center; color: #8b949e; margin: 20px 0; font-size: 14px; }
.wallet-button { width: 100%; padding: 12px; background: linear-gradient(90deg, #5831f5, #a336f3); border: none; border-radius: 8px; color: white; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s ease; }
.wallet-button:hover { filter: brightness(1.2); transform: scale(1.03); }
.wallet-icon { font-weight: bold; }
.earn-chip { background: rgba(255,255,255,0.2); padding: 4px 8px; border-radius: 12px; font-size: 12px; }
.view-wallets-button { width: 100%; padding: 14px; background-color: #2a2a42; border: 1px solid #444466; border-radius: 8px; color: #fff; font-size: 16px; cursor: pointer; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; }
.view-wallets-button:hover { background-color: #3a3a52; }
.wallet-count { color: #8b949e; }
.auth-footer { font-size: 12px; color: #8b949e; text-align: center; margin-top: 24px; }
.auth-footer strong { color: #fff; }
#password-view .welcome-back { color: #c9d1d9; margin-bottom: 12px; text-align: center; }
#password-view .pink-button { width: 100%; background-color: var(--pink); color: white; font-weight: 700; padding: 14px; border: none; border-radius: 8px; cursor: pointer; font-size: 16px; transition: all 0.3s ease; }
#password-view .pink-button:hover { filter: brightness(1.2); transform: scale(1.03); }
.login-error-text { color: var(--accent-red); font-weight: 700; text-align: center; font-size: 14px; height: 20px; margin-bottom: 10px; }

/* --- Dashboard Styles --- */
#dashboard-screen { display:none; flex-direction:column; width:100%; height:100vh; background-color: var(--bg); position: relative; }
#dashboard-content { display: none; flex-direction: column; height: 100%; width: 100%; }

/* [UPDATED] Better Panels with Glow Effect */
.panel { 
    background: var(--bg-light);
    border: 1px solid var(--muted-border); 
    border-radius: 8px;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.panel:not(:last-child) { margin-bottom: 15px; }
.panel:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 0 25px var(--glow-blue);
}
.panel-title { font-size:16px; color:var(--text); border-bottom:1px solid var(--muted-border); padding-bottom:12px; margin-bottom:15px; font-weight:600; display: flex; align-items: center; gap: 8px; }
.panel-title i { color: var(--accent-blue); } /* Give icons an accent color */
.button { padding:8px 12px; border:none; border-radius:6px; font-weight:700; cursor:pointer; transition: all 0.3s ease; }
.button:hover { filter: brightness(1.2); transform: scale(1.02); }

.top-bar { height: 55px; background: var(--panel); border-bottom: 1px solid var(--muted-border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; gap: 20px; flex-shrink: 0; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 16px; }
.logo { font-size: 24px; font-weight: 700; color: var(--accent-blue); }
.project-details { display: flex; flex-direction: column; line-height: 1.2; }
.project-main-name { font-size: 14px; font-weight: 600; color: var(--text); }
.project-sub-name { font-size: 11px; color: #8b949e; }
.search-bar { display: flex; align-items: center; background-color: var(--bg); border: 1px solid var(--muted-border); border-radius: 6px; padding: 4px 8px; }
.search-bar .search-icon { color: #8b949e; font-size: 14px; margin-right: 8px; }
.search-bar input { background: transparent; border: none; outline: none; color: var(--text); font-size: 14px; width: 200px; }
.search-bar input::placeholder { color: #8b949e; }
.icon-button { background: transparent; border: 1px solid var(--muted-border); color: #c9d1d9; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.icon-button:hover { background-color: rgba(255, 255, 255, 0.05); border-color: var(--accent-blue); color: var(--accent-blue); }
.user-profile { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 12px; background-color: var(--bg); border: 1px solid var(--muted-border); border-radius: 20px; cursor: pointer; transition: background-color 0.2s; }
.user-profile:hover { background-color: #30363d; }
.user-name { color: var(--text); font-weight: 600; font-size: 13px; }
.user-avatar { width: 26px; height: 26px; border-radius: 50%; background-color: var(--accent-blue); color: white; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.dashboard-body { display: flex; height: calc(100vh - 55px); width: 100%; }
.sidebar { width: 240px; background-color: var(--panel); border-right: 1px solid var(--muted-border); padding: 15px 0; flex-shrink: 0; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }

/* [UPDATED] Sidebar Navigation with Better Hover/Active Effect */
.nav-link { display: flex; align-items: center; padding: 12px 20px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; border-left: 3px solid transparent; transition: background-color 0.2s, color 0.2s, border-left-color 0.2s; position: relative; }
.nav-link:hover { background-color: rgba(88, 166, 255, 0.1); color: #fff; }
.nav-link.active { background-color: rgba(88, 166, 255, 0.15); border-left-color: var(--accent-blue); color: #fff; }
.nav-link::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background-color: var(--accent-blue); transform: scaleY(0); transition: transform 0.3s ease; transform-origin: center; }
.nav-link.active::before, .nav-link:hover::before { transform: scaleY(1); }
.nav-link i { width: 20px; margin-right: 15px; font-size: 16px; text-align: center; }

.main-content { flex: 1; overflow-y: auto; padding: 20px; background-color: var(--bg); }
.content-view { display: none; height: 100%; }
.content-view.active { display: block; }
#dashboard-view .dashboard-grid { display:grid; grid-template-columns: 3fr 1.4fr; gap:15px; height: 100%; padding: 0; box-sizing:border-box; flex: 1; min-height: 0; }
.left-column { display:grid; grid-template-rows: auto auto 1fr; gap:15px; min-height:0; }

/* [UPDATED] Better looking charts with animation */
.chart-panel { min-height:80px; display:flex; flex-direction:column; }
.btc-chart-sim, .eth-chart-sim { flex:1; background:#000; border:1px solid var(--muted-border); padding:10px; position:relative; display:flex; align-items:flex-end; gap:4px; overflow:hidden; border-radius:6px; }
.price-info { position:absolute; top:8px; left:10px; font-size:15px; font-weight:700; z-index: 2; }
.candle { width:4.5%; border-radius:2px; transform-origin: bottom; animation: growBar 1s ease-out; background: linear-gradient(to top, var(--accent-green), #8ee0a4); }
.candle.red { background: linear-gradient(to top, var(--accent-red), #ff8a85); }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.ai-log-panel { display:flex; flex-direction:column; min-height:140px; position: relative; margin-bottom: 0; font-family: 'Consolas', 'Fira Code', monospace; }
.resizer { position: absolute; bottom: 0; left: 0; width: 100%; height: 8px; cursor: ns-resize; background: transparent; z-index: 10; }
.code-log-container { display:flex; flex-direction:column; flex: 1; min-height:0; }
.code-log { flex:1 1 auto; min-height:0; background:var(--bg); padding:10px; font-size:13px; line-height:1.4; overflow-y:auto; overflow-x:hidden; border:1px solid rgba(48,54,61,0.6); border-radius:6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.01); word-break:break-word; position:relative; }
.code-log .spacer { height:62px; display:block; width:100%; }
.log-input-box { display:flex; gap:8px; padding:8px; background:var(--panel); border-top:1px solid var(--muted-border); margin-top:6px; align-items:center; border-radius:6px; }
.log-input-box input { flex:1; padding:8px; border-radius:6px; border:1px solid var(--muted-border); background:var(--bg); color:var(--text); font-family:inherit; font-size:13px; }
.log-input-box button { padding:8px 10px; border-radius:6px; background:var(--accent-green); color:#fff; border:none; cursor:pointer; }
.right-column { display:flex; flex-direction:column; min-height:0; }
.right-column .panel { margin-bottom: 12px; }
.right-column .panel:last-child { margin-bottom: 0; }
.tabbed-panel { padding: 0; display:flex; flex-direction: column; min-height: 0; font-family: 'Consolas', 'Fira Code', monospace; }
.tab-nav { display: flex; border-bottom: 1px solid var(--muted-border); padding: 6px 12px 0 12px; flex-shrink: 0; }
.tab-btn { padding: 8px 14px; cursor: pointer; background: none; border: none; color: var(--text); font-weight: 600; font-size: 13px; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: all 0.3s ease; }
.tab-btn.active { color: var(--accent-blue); border-bottom-color: var(--accent-blue); background: linear-gradient(to top, rgba(88, 166, 255, 0.1), transparent); }
.tab-content-container { padding: 12px; flex: 1; overflow-y: auto; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.nft-table-sim { background:transparent; height:auto; overflow:visible; border:none; padding: 0; }
.nft-table-sim table { width:100%; border-collapse:collapse; font-size:12px; }
.nft-table-sim th, .nft-table-sim td { padding:6px 8px; border-bottom:1px solid #222; text-align:left; }
.nft-table-sim th { position:sticky; top:0; background:#1b1b1b; }
@keyframes flash-yellow { 0%, 100% { background-color: transparent; } 50% { background-color: rgba(255, 215, 0, 0.2); } }
@keyframes flash-red { 0%, 100% { background-color: transparent; } 50% { background-color: rgba(248, 81, 73, 0.2); } }
.flash-yellow { animation: flash-yellow 1s ease-out; }
.flash-red { animation: flash-red 1s ease-out; }
#welcome-loader { display: none; position: absolute; inset: 0; background-color: var(--bg); z-index: 10000; align-items: center; justify-content: center; flex-direction: column; text-align: center; font-family: 'Consolas', 'Fira Code', monospace; }
.loader-content { transform: translateY(-50px); }
.welcome-title { font-size: 3.5vw; font-weight: 700; color: white; letter-spacing: 4px; margin: 0; text-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }
.welcome-title .name { color: var(--pink); text-shadow: 0 0 15px var(--pink); }
.welcome-subtitle { font-size: 1.2vw; color: rgba(255, 255, 255, 0.7); letter-spacing: 8px; margin: 10px 0 0 0; }
.verification-text { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.5); font-size: 12px; letter-spacing: 2px; }
.verification-text .dots { display: inline-block; width: 20px; text-align: left; animation: dots-pulse 1.5s infinite; }
@keyframes dots-pulse { 0% { content: '.'; } 33% { content: '..'; } 66% { content: '...'; } 100% { content: '.'; } }
@keyframes skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
#bot-console-overlay, #mail-compose-overlay { position:fixed; inset:0; display:none; align-items:center; justify-content:center; z-index:1000; } /* Glassmorphism is handled by .modal-overlay */
.bot-window { width:84%; height:78%; background:rgba(0,0,0,0.8); border:2px solid var(--accent-blue); display:flex; flex-direction:column; padding:12px; border-radius:8px; box-sizing:border-box; }
.bot-terminal { flex:1; overflow:auto; color:#39ff14; font-family:monospace; padding:8px; border-radius:6px; background:#000; border:1px solid rgba(255,255,255,0.02); }
.mail-box { width:520px; max-width:calc(100% - 30px); background:#0f1419; border:1px solid var(--muted-border); padding:14px; border-radius:8px; }
@media (max-width: 900px) {
    .top-bar { flex-direction:column; height:auto; padding:8px 14px; align-items:flex-start; }
    .top-bar-left, .top-bar-right { gap: 8px; flex-wrap: wrap; }
    
    #dashboard-view .dashboard-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        height: auto;
        overflow-y: auto;
    }

    .left-column {
        grid-template-rows: auto;
        min-height: auto;
    }
    .chart-panel { height: 280px; }

    .right-column { order:3; }

    .bot-window { width:95%; height:82%; }
}

.attendance-btn {
    background-color: rgba(4, 170, 109, 0.1);
    border-color: rgba(4, 170, 109, 0.5);
    color: #04AA6D;
}

.attendance-btn:hover {
    background-color: rgba(4, 170, 109, 0.2);
    border-color: #04AA6D;
}

.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid #4a5568;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
    font-size: 14px;
    text-align: center;
}

.toast.show {
    bottom: 30px;
}

.notification-wrapper {
    position: relative;
    display: inline-block;
}

.notifications-panel {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 360px;
    background-color: var(--panel);
    border: 1px solid var(--muted-border);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1500;
    overflow: hidden;
}

.notifications-panel.show {
    display: block;
}

.notification-header {
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--muted-border);
}

.notification-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--muted-border);
    transition: background-color 0.2s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.notif-icon {
    margin-right: 12px;
    font-size: 18px;
}
.notif-icon.green { color: var(--accent-green); }
.notif-icon.orange { color: #f0ad4e; }
.notif-icon.blue { color: var(--accent-blue); }

.notif-content p {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.4;
}

.notif-content .notif-time {
    font-size: 11px;
    color: #8b949e;
}

.icon-button i {
    font-size: 15px;
}

.profile-panel {
    background-color: #161b22;
    border: 1px solid var(--muted-border);
    border-radius: 12px;
    width: 550px;
    max-width: 95%;
    color: var(--text);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
    padding: 0;
    overflow: hidden;
}
.profile-header {
    background: linear-gradient(110deg, #21262d, #1a1f26);
    display: flex;
    align-items: center;
    padding: 24px;
    position: relative;
}

.profile-picture {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid #30363d;
    flex-shrink: 0;
    position: relative;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 3px;
    right: 6px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-green);
    border-radius: 50%;
    border: 2px solid #161b22;
}

.profile-info .profile-name {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.profile-info .profile-title {
    margin: 4px 0 10px 0;
    font-size: 14px;
    color: var(--accent-blue);
}

.social-links a {
    color: #8b949e;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.2s ease-in-out;
}

.social-links a:hover {
    color: #fff;
}

.profile-body {
    padding: 24px;
}

.profile-section {
    margin-bottom: 24px;
}
.profile-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 12px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
    color: #8b949e;
    font-size: 14px;
}

.contact-info p i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(88, 166, 255, 0.2);
    transition: all 0.2s ease;
}

.skill-pill:hover {
    background-color: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.4);
}

.projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.projects-list li {
    background-color: #21262d;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.projects-list li:hover {
    border-color: var(--muted-border);
    transform: translateY(-2px);
}

.project-icon {
    font-size: 20px;
    color: #8b949e;
}

.project-details {
    flex: 1;
}

.project-title {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.project-status {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 700;
}
.project-status.active {
    color: #3fb950;
    background-color: rgba(63, 185, 80, 0.1);
}
.project-status.completed {
    color: #a371f7;
    background-color: rgba(163, 113, 247, 0.1);
}
.project-status.ongoing {
    color: #f778ba;
    background-color: rgba(247, 120, 186, 0.1);
}

/* ===== NEW SIDEBAR CONTENT STYLES ===== */

/* --- Profile View --- */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.profile-section.full-width {
    grid-column: 1 / -1;
}
.section-title {
    font-size: 14px;
    color: #8b949e;
    margin: 0 0 12px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--muted-border);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 14px;
}
.info-grid > div {
    line-height: 1.5;
}
.info-grid strong {
    color: var(--text);
}
.performance-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    padding-top: 20px;
}
.bar-item {
    width: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.bar {
    width: 40px;
    background: linear-gradient(to top, var(--accent-blue), #8cbef3);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease-out;
}
.bar-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
}
.bar-title {
    font-size: 12px;
    margin-top: 8px;
    color: #8b949e;
}

/* --- Attendance View --- */
.attendance-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.calendar-header h3 {
    margin: 0;
    color: var(--text);
}
.calendar-header button {
    background: var(--bg);
    border: 1px solid var(--muted-border);
    color: var(--text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-grid .day-name, .calendar-grid .day {
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
}
.day-name {
    font-weight: 700;
    color: #8b949e;
}
.day {
    border-radius: 4px;
    background-color: #2d333b;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid transparent;
}
.day:hover {
    border: 1px solid var(--accent-blue);
}
.day.empty { background: transparent; cursor: default; }
.day.empty:hover { border: 1px solid transparent; }
.day.present { background-color: rgba(63, 185, 80, 0.4); color: white; }
.day.absent { background-color: rgba(248, 81, 73, 0.4); color: white; }
.day.holiday { background-color: rgba(88, 166, 255, 0.4); color: white; }
.day.weekend { background-color: #22272e; color: #8b949e; }
.day.today { border: 2px solid var(--gold); }

.attendance-summary h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--muted-border);
    padding-bottom: 10px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 14px;
    border-left: 4px solid;
}
.summary-item.present { border-color: var(--accent-green); background-color: rgba(63, 185, 80, 0.1); }
.summary-item.absent { border-color: var(--accent-red); background-color: rgba(248, 81, 73, 0.1); }
.summary-item.holiday { border-color: var(--accent-blue); background-color: rgba(88, 166, 255, 0.1); }
.summary-item.weekend { border-color: #8b949e; background-color: rgba(139, 148, 158, 0.1); }
.summary-item.total { border-color: var(--gold); background-color: rgba(255, 215, 0, 0.1); font-weight: 700; }

/* --- Projects View --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.project-card {
    background: #161b22;
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}
.project-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent-blue); 
    box-shadow: 0 0 20px var(--glow-blue); 
}
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.project-card-header h4 {
    margin: 0;
    color: var(--accent-blue);
}
.project-status-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
}
.project-status-tag.ongoing { color: #f778ba; background-color: rgba(247, 120, 186, 0.1); }
.project-status-tag.completed { color: var(--accent-purple); background-color: rgba(163, 113, 247, 0.1); }
.project-status-tag.maintenance { color: var(--accent-orange); background-color: rgba(240, 173, 78, 0.1); }

.project-description {
    font-size: 13px;
    color: #8b949e;
    line-height: 1.5;
    flex-grow: 1;
}
.project-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
}
.progress-bar-container {
    flex: 1;
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--accent-green);
    border-radius: 4px;
}
.project-footer {
    margin-top: 15px;
    font-size: 12px;
    color: #8b949e;
}

/* --- Task Board View --- */
.task-board-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.task-column h3 {
    margin-top: 0;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--muted-border);
}
.task-column h3 i { margin-right: 8px; }
.task-card {
    background: #161b22;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--muted-border);
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}
.task-card:hover { transform: translateX(5px); border-left: 3px solid var(--accent-blue); }
.priority-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
}
.priority-tag.high { color: white; background-color: var(--accent-red); }
.priority-tag.medium { color: black; background-color: var(--gold); }
.priority-tag.low { color: white; background-color: var(--accent-green); }
.task-card p {
    font-size: 14px;
    margin: 0 0 10px 0;
    padding-right: 50px;
}
.task-project {
    font-size: 12px;
    color: #8b949e;
}

/* --- Leaves View --- */
.leaves-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.leave-balance-card {
    display: flex;
    align-items: center;
    gap: 20px;
}
.leave-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}
.leave-icon.sick { background: var(--accent-red); }
.leave-icon.casual { background: var(--accent-blue); }
.leave-details h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--text);
}
.leave-details p {
    margin: 0;
    font-size: 14px;
    color: #8b949e;
}
.leave-details p span {
    font-size: 22px;
    font-weight: 700;
    color: white;
}
.holiday-table {
    width: 100%;
    border-collapse: collapse;
}
.holiday-table th, .holiday-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--muted-border);
}
.holiday-table th {
    font-size: 14px;
    color: #8b949e;
}
.holiday-table td {
    font-size: 14px;
}

/* --- Code Repository View --- */
.repository-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 20px;
    font-family: 'Consolas', 'Fira Code', monospace;
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.repo-header h4, .pr-list-column h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text);
}

.repo-header h4 i, .pr-list-column h4 i {
    margin-right: 8px;
    color: var(--accent-blue);
}

.branch-selector {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    color: var(--text);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
}

.repo-list, .pr-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg);
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    overflow: hidden;
    height: 200px;
    overflow-y: auto;
}

.repo-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--muted-border);
    cursor: pointer;
    transition: background-color 0.2s, border-left-color 0.3s;
    border-left: 3px solid transparent;
}

.repo-item:last-child {
    border-bottom: none;
}

.repo-item:hover {
    background-color: rgba(88, 166, 255, 0.1);
    border-left-color: var(--accent-blue);
}

.repo-item.active {
    background-color: rgba(88, 166, 255, 0.15);
    border-left-color: var(--accent-blue);
}

.repo-name {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 4px;
}

.repo-meta {
    font-size: 12px;
    color: #8b949e;
}

.repo-actions {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.repo-button {
    width: 100%;
    padding: 10px;
    font-size: 13px;
}
.repo-button.clone { background-color: var(--accent-green); color: white; }
.repo-button.branch { background-color: var(--accent-blue); color: white; }
.repo-button i { margin-right: 8px; }

.pr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--muted-border);
}
.pr-item:last-child { border-bottom: none; }

.pr-details {
    display: flex;
    flex-direction: column;
}

.pr-title {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.pr-meta {
    font-size: 11px;
    color: #8b949e;
}

.pr-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.pr-status.review { color: var(--accent-orange); background-color: rgba(240, 173, 78, 0.1); }
.pr-status.merged { color: var(--accent-purple); background-color: rgba(163, 113, 247, 0.1); }
.pr-status.closed { color: var(--accent-red); background-color: rgba(248, 81, 73, 0.1); }

.raise-pr-button {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background-color: var(--pink);
    color: white;
}
.raise-pr-button i { margin-right: 8px; }



/* --- बेहतर बग रिपोर्ट फॉर्म स्टाइल्स --- */
#mail-compose-overlay {
    backdrop-filter: blur(5px);
}

.mail-box {
    width: 550px;
    max-width: 95%;
    background: #161b22;
    border: 1px solid var(--muted-border);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.mail-box label {
    display: block;
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 5px;
    margin-top: 10px;
    font-weight: 600;
}

.mail-box input[type="text"],
.mail-box textarea {
    width: 100%;
    background: #0d1117;
    color: var(--text);
    border: 1px solid var(--muted-border);
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.mail-box input[type="text"]:focus,
.mail-box textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

.mail-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}

.mail-actions .button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.mail-actions .cancel-btn {
    background: #30363d;
    color: var(--text);
}
.mail-actions .cancel-btn:hover {
    background: #444c56;
}

.mail-actions .send-btn {
    background: var(--accent-green);
    color: #fff;
    min-width: 140px;
}
.mail-actions .send-btn:hover {
    background: #5cb85c;
}

/* बटन की लोडिंग स्टेट */
.mail-actions .send-btn:disabled {
    background: var(--accent-green);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.mail-actions .send-btn.sending .btn-text {
    display: none;
}

.mail-actions .send-btn.sending .btn-spinner {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* रिपोर्ट सबमिट होने पर टोस्ट का स्टाइल */
#report-toast {
    background: linear-gradient(135deg, #1f7c32, #24a148);
    border-left: 5px solid #6a9955;
}

/* --- सिस्टम स्टेटस मॉनिटर विजेट स्टाइल --- */
.system-monitor-panel {
    transform: none; 
}

.system-monitor-panel:hover {
    transform: none;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.3); 
}

.system-monitor-panel .panel-title i {
    margin-right: 8px;
    color: var(--accent-blue);
}

.monitor-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.monitor-item {
    font-family: 'Consolas', 'Fira Code', monospace;
}

.monitor-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}

.percentage-text {
    font-weight: 700;
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background-color: var(--bg);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--muted-border);
}

.progress-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.cpu-bar {
    background: linear-gradient(90deg, #58a6ff, #3a8bf7);
}

.gpu-bar {
    background: linear-gradient(90deg, #f85149, #e03c34);
}

.ram-bar {
    background: linear-gradient(90deg, #6a9955, #4e8d3b);
}


/* --- नोड स्टेटस विजेट स्टाइल --- */
.node-status-panel {
    transform: none;
}

.node-status-panel:hover {
    transform: none;
    box-shadow: 0 0 15px rgba(240, 173, 78, 0.3);
}

.node-status-panel .panel-title i {
    margin-right: 8px;
    color: #f0ad4e; /* Gold color */
}

.node-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Consolas', 'Fira Code', monospace;
}

.node-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--muted-border);
}

.node-info-list li:last-child {
    border-bottom: none;
}

.node-info-list li > span:first-child {
    color: #8b949e; /* Muted text color */
}

.status-value {
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--glow-green);
}

/* --- NEW Code Activity Widget --- */
.code-activity-panel {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transform: none; 
}

.code-activity-panel:hover {
    transform: none;
    box-shadow: 0 0 15px var(--glow-green);
}

.code-activity-panel .panel-title i {
    margin-right: 8px;
    color: var(--text);
}

.activity-content h4 {
    font-size: 13px;
    color: var(--text);
    margin: 15px 0 10px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.activity-content h4 i {
    margin-right: 8px;
    color: #8b949e;
}

.activity-content h4.section-divider {
    border-top: 1px solid var(--muted-border);
    padding-top: 15px;
}


.commit-list, .pr-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.commit-item, .pr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--muted-border);
}

.commit-item:last-child, .pr-item:last-child {
    border-bottom: none;
}

.commit-details, .pr-details {
    display: flex;
    flex-direction: column;
}

.commit-message, .pr-title {
    color: var(--text);
    margin-bottom: 2px;
}

.commit-meta, .pr-meta {
    font-size: 11px;
    color: #8b949e;
}

.commit-hash {
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 12px;
    color: #8b949e;
    background-color: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--muted-border);
}

.pr-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    min-width: 50px;
}

.pr-status.review {
    color: var(--accent-orange);
    background-color: rgba(240, 173, 78, 0.1);
}

.pr-status.merged {
    color: var(--accent-purple);
    background-color: rgba(163, 113, 247, 0.1);
}


/* ===== नया क्लॉक और वर्क-टाइमर स्टाइल्स ===== */
.work-tracker {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    width: 150px;
    font-family: 'Consolas', 'Fira Code', monospace;
}

.tracker-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text);
    font-weight: 600;
}

.tracker-info .tracker-goal {
    color: #8b949e;
    font-size: 11px;
}

.tracker-progress-bar-container {
    width: 100%;
    height: 4px;
    background-color: #30363d;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.tracker-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border-radius: 2px;
    transition: width 0.5s ease-out;
}

.realtime-clock-container {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

#end-day-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: transparent;
    color: #8b949e;
}

#end-day-btn:not(:disabled) {
    background-color: rgba(63, 185, 80, 0.2);
    border-color: var(--accent-green);
    color: var(--accent-green);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green { 
    0% { box-shadow: 0 0 5px var(--glow-green); } 
    50% { box-shadow: 0 0 15px var(--glow-green); } 
    100% { box-shadow: 0 0 5px var(--glow-green); } 
}

@media (max-width: 900px) {
    .top-bar { flex-direction:column; height:auto; padding:8px 14px; align-items:flex-start; }
    .top-bar-left, .top-bar-right { gap: 8px; flex-wrap: wrap; }
    
    #dashboard-view .dashboard-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        height: auto;
        overflow-y: auto;
    }

    .left-column {
        grid-template-rows: auto;
        min-height: auto;
    }
    .chart-panel { height: 280px; }

    .right-column { order:3; }

    .bot-window { width:95%; height:82%; }
}

.attendance-btn {
    background-color: rgba(4, 170, 109, 0.1);
    border-color: rgba(4, 170, 109, 0.5);
    color: #04AA6D;
}

.attendance-btn:hover {
    background-color: rgba(4, 170, 109, 0.2);
    border-color: #04AA6D;
}

.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid #4a5568;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
    font-size: 14px;
    text-align: center;
}

.toast.show {
    bottom: 30px;
}

.notification-wrapper {
    position: relative;
    display: inline-block;
}

.notifications-panel {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 360px;
    background-color: var(--panel);
    border: 1px solid var(--muted-border);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1500;
    overflow: hidden;
}

.notifications-panel.show {
    display: block;
}

.notification-header {
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--muted-border);
}

.notification-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--muted-border);
    transition: background-color 0.2s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.notif-icon {
    margin-right: 12px;
    font-size: 18px;
}
.notif-icon.green { color: var(--accent-green); }
.notif-icon.orange { color: #f0ad4e; }
.notif-icon.blue { color: var(--accent-blue); }

.notif-content p {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.4;
}

.notif-content .notif-time {
    font-size: 11px;
    color: #8b949e;
}

.icon-button i {
    font-size: 15px;
}

.profile-panel {
    background-color: #161b22;
    border: 1px solid var(--muted-border);
    border-radius: 12px;
    width: 550px;
    max-width: 95%;
    color: var(--text);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
    padding: 0;
    overflow: hidden;
}

.profile-header {
    background: linear-gradient(110deg, #21262d, #1a1f26);
    display: flex;
    align-items: center;
    padding: 24px;
    position: relative;
}

.profile-picture {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid #30363d;
    flex-shrink: 0;
    position: relative;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 3px;
    right: 6px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-green);
    border-radius: 50%;
    border: 2px solid #161b22;
}

.profile-info .profile-name {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.profile-info .profile-title {
    margin: 4px 0 10px 0;
    font-size: 14px;
    color: var(--accent-blue);
}

.social-links a {
    color: #8b949e;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.2s ease-in-out;
}

.social-links a:hover {
    color: #fff;
}

.profile-body {
    padding: 24px;
}

.profile-section {
    margin-bottom: 24px;
}
.profile-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 12px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px 0;
    color: #8b949e;
    font-size: 14px;
}

.contact-info p i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pill {
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(88, 166, 255, 0.2);
    transition: all 0.2s ease;
}

.skill-pill:hover {
    background-color: rgba(88, 166, 255, 0.2);
    border-color: rgba(88, 166, 255, 0.4);
}

.projects-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.projects-list li {
    background-color: #21262d;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.projects-list li:hover {
    border-color: var(--muted-border);
    transform: translateY(-2px);
}

.project-icon {
    font-size: 20px;
    color: #8b949e;
}

.project-details {
    flex: 1;
}

.project-title {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.project-status {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 700;
}
.project-status.active {
    color: #3fb950;
    background-color: rgba(63, 185, 80, 0.1);
}
.project-status.completed {
    color: #a371f7;
    background-color: rgba(163, 113, 247, 0.1);
}
.project-status.ongoing {
    color: #f778ba;
    background-color: rgba(247, 120, 186, 0.1);
}

/* ===== NEW SIDEBAR CONTENT STYLES ===== */

/* --- Profile View --- */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.profile-section.full-width {
    grid-column: 1 / -1;
}
.section-title {
    font-size: 14px;
    color: #8b949e;
    margin: 0 0 12px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--muted-border);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 14px;
}
.info-grid > div {
    line-height: 1.5;
}
.info-grid strong {
    color: var(--text);
}
.performance-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    padding-top: 20px;
}
.bar-item {
    width: 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.bar {
    width: 40px;
    background: linear-gradient(to top, var(--accent-blue), #8cbef3);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease-out;
}
.bar-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
}
.bar-title {
    font-size: 12px;
    margin-top: 8px;
    color: #8b949e;
}

/* --- Attendance View --- */
.attendance-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.calendar-header h3 {
    margin: 0;
    color: var(--text);
}
.calendar-header button {
    background: var(--bg);
    border: 1px solid var(--muted-border);
    color: var(--text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-grid .day-name, .calendar-grid .day {
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
}
.day-name {
    font-weight: 700;
    color: #8b949e;
}
.day {
    border-radius: 4px;
    background-color: #2d333b;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid transparent;
}
.day:hover {
    border: 1px solid var(--accent-blue);
}
.day.empty { background: transparent; cursor: default; }
.day.empty:hover { border: 1px solid transparent; }
.day.present { background-color: rgba(63, 185, 80, 0.4); color: white; }
.day.absent { background-color: rgba(248, 81, 73, 0.4); color: white; }
.day.holiday { background-color: rgba(88, 166, 255, 0.4); color: white; }
.day.weekend { background-color: #22272e; color: #8b949e; }
.day.today { border: 2px solid var(--gold); }

.attendance-summary h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--muted-border);
    padding-bottom: 10px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 14px;
    border-left: 4px solid;
}
.summary-item.present { border-color: var(--accent-green); background-color: rgba(63, 185, 80, 0.1); }
.summary-item.absent { border-color: var(--accent-red); background-color: rgba(248, 81, 73, 0.1); }
.summary-item.holiday { border-color: var(--accent-blue); background-color: rgba(88, 166, 255, 0.1); }
.summary-item.weekend { border-color: #8b949e; background-color: rgba(139, 148, 158, 0.1); }
.summary-item.total { border-color: var(--gold); background-color: rgba(255, 215, 0, 0.1); font-weight: 700; }

/* --- Projects View --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.project-card {
    background: #161b22;
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}
.project-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent-blue); 
    box-shadow: 0 0 20px var(--glow-blue); 
}
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.project-card-header h4 {
    margin: 0;
    color: var(--accent-blue);
}
.project-status-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
}
.project-status-tag.ongoing { color: #f778ba; background-color: rgba(247, 120, 186, 0.1); }
.project-status-tag.completed { color: var(--accent-purple); background-color: rgba(163, 113, 247, 0.1); }
.project-status-tag.maintenance { color: var(--accent-orange); background-color: rgba(240, 173, 78, 0.1); }

.project-description {
    font-size: 13px;
    color: #8b949e;
    line-height: 1.5;
    flex-grow: 1;
}
.project-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
}
.progress-bar-container {
    flex: 1;
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--accent-green);
    border-radius: 4px;
}
.project-footer {
    margin-top: 15px;
    font-size: 12px;
    color: #8b949e;
}

/* --- Task Board View --- */
.task-board-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.task-column h3 {
    margin-top: 0;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--muted-border);
}
.task-column h3 i { margin-right: 8px; }
.task-card {
    background: #161b22;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--muted-border);
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}
.task-card:hover { transform: translateX(5px); border-left: 3px solid var(--accent-blue); }
.priority-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
}
.priority-tag.high { color: white; background-color: var(--accent-red); }
.priority-tag.medium { color: black; background-color: var(--gold); }
.priority-tag.low { color: white; background-color: var(--accent-green); }
.task-card p {
    font-size: 14px;
    margin: 0 0 10px 0;
    padding-right: 50px;
}
.task-project {
    font-size: 12px;
    color: #8b949e;
}

/* --- Leaves View --- */
.leaves-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.leave-balance-card {
    display: flex;
    align-items: center;
    gap: 20px;
}
.leave-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}
.leave-icon.sick { background: var(--accent-red); }
.leave-icon.casual { background: var(--accent-blue); }
.leave-details h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--text);
}
.leave-details p {
    margin: 0;
    font-size: 14px;
    color: #8b949e;
}
.leave-details p span {
    font-size: 22px;
    font-weight: 700;
    color: white;
}
.holiday-table {
    width: 100%;
    border-collapse: collapse;
}
.holiday-table th, .holiday-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--muted-border);
}
.holiday-table th {
    font-size: 14px;
    color: #8b949e;
}
.holiday-table td {
    font-size: 14px;
}

/* --- Code Repository View --- */
.repository-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 20px;
    font-family: 'Consolas', 'Fira Code', monospace;
}

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.repo-header h4, .pr-list-column h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text);
}

.repo-header h4 i, .pr-list-column h4 i {
    margin-right: 8px;
    color: var(--accent-blue);
}

.branch-selector {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    color: var(--text);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
}

.repo-list, .pr-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg);
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    overflow: hidden;
    height: 200px;
    overflow-y: auto;
}

.repo-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--muted-border);
    cursor: pointer;
    transition: background-color 0.2s, border-left-color 0.3s;
    border-left: 3px solid transparent;
}

.repo-item:last-child {
    border-bottom: none;
}

.repo-item:hover {
    background-color: rgba(88, 166, 255, 0.1);
    border-left-color: var(--accent-blue);
}

.repo-item.active {
    background-color: rgba(88, 166, 255, 0.15);
    border-left-color: var(--accent-blue);
}

.repo-name {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 4px;
}

.repo-meta {
    font-size: 12px;
    color: #8b949e;
}

.repo-actions {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.repo-button {
    width: 100%;
    padding: 10px;
    font-size: 13px;
}
.repo-button.clone { background-color: var(--accent-green); color: white; }
.repo-button.branch { background-color: var(--accent-blue); color: white; }
.repo-button i { margin-right: 8px; }

.pr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--muted-border);
}
.pr-item:last-child { border-bottom: none; }

.pr-details {
    display: flex;
    flex-direction: column;
}

.pr-title {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.pr-meta {
    font-size: 11px;
    color: #8b949e;
}

.pr-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.pr-status.review { color: var(--accent-orange); background-color: rgba(240, 173, 78, 0.1); }
.pr-status.merged { color: var(--accent-purple); background-color: rgba(163, 113, 247, 0.1); }
.pr-status.closed { color: var(--accent-red); background-color: rgba(248, 81, 73, 0.1); }

.raise-pr-button {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background-color: var(--pink);
    color: white;
}
.raise-pr-button i { margin-right: 8px; }



/* --- बेहतर बग रिपोर्ट फॉर्म स्टाइल्स --- */
#mail-compose-overlay {
    backdrop-filter: blur(5px);
}

.mail-box {
    width: 550px;
    max-width: 95%;
    background: #161b22;
    border: 1px solid var(--muted-border);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.mail-box label {
    display: block;
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 5px;
    margin-top: 10px;
    font-weight: 600;
}

.mail-box input[type="text"],
.mail-box textarea {
    width: 100%;
    background: #0d1117;
    color: var(--text);
    border: 1px solid var(--muted-border);
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.mail-box input[type="text"]:focus,
.mail-box textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

.mail-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}

.mail-actions .button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.mail-actions .cancel-btn {
    background: #30363d;
    color: var(--text);
}
.mail-actions .cancel-btn:hover {
    background: #444c56;
}

.mail-actions .send-btn {
    background: var(--accent-green);
    color: #fff;
    min-width: 140px;
}
.mail-actions .send-btn:hover {
    background: #5cb85c;
}

/* बटन की लोडिंग स्टेट */
.mail-actions .send-btn:disabled {
    background: var(--accent-green);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.mail-actions .send-btn.sending .btn-text {
    display: none;
}

.mail-actions .send-btn.sending .btn-spinner {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* रिपोर्ट सबमिट होने पर टोस्ट का स्टाइल */
#report-toast {
    background: linear-gradient(135deg, #1f7c32, #24a148);
    border-left: 5px solid #6a9955;
}

/* --- सिस्टम स्टेटस मॉनिटर विजेट स्टाइल --- */
.system-monitor-panel {
    transform: none; 
}

.system-monitor-panel:hover {
    transform: none;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.3); 
}

.system-monitor-panel .panel-title i {
    margin-right: 8px;
    color: var(--accent-blue);
}

.monitor-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.monitor-item {
    font-family: 'Consolas', 'Fira Code', monospace;
}

.monitor-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}

.percentage-text {
    font-weight: 700;
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background-color: var(--bg);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--muted-border);
}

.progress-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

.cpu-bar {
    background: linear-gradient(90deg, #58a6ff, #3a8bf7);
}

.gpu-bar {
    background: linear-gradient(90deg, #f85149, #e03c34);
}

.ram-bar {
    background: linear-gradient(90deg, #6a9955, #4e8d3b);
}


/* --- नोड स्टेटस विजेट स्टाइल --- */
.node-status-panel {
    transform: none;
}

.node-status-panel:hover {
    transform: none;
    box-shadow: 0 0 15px rgba(240, 173, 78, 0.3);
}

.node-status-panel .panel-title i {
    margin-right: 8px;
    color: #f0ad4e; /* Gold color */
}

.node-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Consolas', 'Fira Code', monospace;
}

.node-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--muted-border);
}

.node-info-list li:last-child {
    border-bottom: none;
}

.node-info-list li > span:first-child {
    color: #8b949e; /* Muted text color */
}

.status-value {
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--glow-green);
}

/* --- NEW Code Activity Widget --- */
.code-activity-panel {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transform: none; 
}

.code-activity-panel:hover {
    transform: none;
    box-shadow: 0 0 15px var(--glow-green);
}

.code-activity-panel .panel-title i {
    margin-right: 8px;
    color: var(--text);
}

.activity-content h4 {
    font-size: 13px;
    color: var(--text);
    margin: 15px 0 10px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.activity-content h4 i {
    margin-right: 8px;
    color: #8b949e;
}

.activity-content h4.section-divider {
    border-top: 1px solid var(--muted-border);
    padding-top: 15px;
}


.commit-list, .pr-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.commit-item, .pr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--muted-border);
}

.commit-item:last-child, .pr-item:last-child {
    border-bottom: none;
}

.commit-details, .pr-details {
    display: flex;
    flex-direction: column;
}

.commit-message, .pr-title {
    color: var(--text);
    margin-bottom: 2px;
}

.commit-meta, .pr-meta {
    font-size: 11px;
    color: #8b949e;
}

.commit-hash {
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 12px;
    color: #8b949e;
    background-color: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--muted-border);
}

.pr-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    min-width: 50px;
}

.pr-status.review {
    color: var(--accent-orange);
    background-color: rgba(240, 173, 78, 0.1);
}

.pr-status.merged {
    color: var(--accent-purple);
    background-color: rgba(163, 113, 247, 0.1);
}


/* ===== नया क्लॉक और वर्क-टाइमर स्टाइल्स ===== */
.work-tracker {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    width: 150px;
    font-family: 'Consolas', 'Fira Code', monospace;
}

.tracker-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text);
    font-weight: 600;
}

.tracker-info .tracker-goal {
    color: #8b949e;
    font-size: 11px;
}

.tracker-progress-bar-container {
    width: 100%;
    height: 4px;
    background-color: #30363d;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.tracker-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border-radius: 2px;
    transition: width 0.5s ease-out;
}

.realtime-clock-container {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

#end-day-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: transparent;
    color: #8b949e;
}

#end-day-btn:not(:disabled) {
    background-color: rgba(63, 185, 80, 0.2);
    border-color: var(--accent-green);
    color: var(--accent-green);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green { 
    0% { box-shadow: 0 0 5px var(--glow-green); } 
    50% { box-shadow: 0 0 15px var(--glow-green); } 
    100% { box-shadow: 0 0 5px var(--glow-green); } 
}


/* ================================================= */
/* === नया: लाइट मोड और थीम स्विच के लिए स्टाइल्स === */
/* ================================================= */

/* 1. लाइट मोड के लिए कलर वेरिएबल्स */
body.light-mode {
    --bg: #f0f2f5; /* हल्का ग्रे बैकग्राउंड */
    --bg-light: #ffffff; /* सफ़ेद */
    --panel: #ffffff; /* पैनल का रंग सफ़ेद */
    --muted-border: #dee2e6; /* हल्का बॉर्डर */
    --text: #212529; /* गहरा टेक्स्ट */
    
    /* एक्सेंट कलर्स को थोड़ा डार्क कर सकते हैं ताकि सफ़ेद पर अच्छे दिखें */
    --accent-blue: #0d6efd;
    --accent-green: #198754;
    --accent-red: #dc3545;
}

/* कुछ एलिमेंट्स को लाइट मोड के लिए एडजस्ट करना */
body.light-mode .auth-panel {
    background: #ffffff;
    color: #333;
    border-color: #e0e0e0;
}
body.light-mode #username-input, 
body.light-mode #password-input {
    background-color: #f0f2f5;
    border-color: #ced4da;
    color: #212529;
}
body.light-mode .auth-footer,
body.light-mode .wallet-count,
body.light-mode #password-view .welcome-back {
    color: #6c757d;
}
body.light-mode .auth-footer strong {
    color: #000;
}
body.light-mode .nav-link:hover, 
body.light-mode .nav-link.active {
    background-color: rgba(13, 110, 253, 0.1);
}
body.light-mode .btc-chart-sim, 
body.light-mode .eth-chart-sim {
    background: #f8f9fa; /* चार्ट का बैकग्राउंड */
}
body.light-mode .code-log, 
body.light-mode .log-input-box input,
body.light-mode .bot-terminal {
    background: #f8f9fa;
    border-color: #e9ecef;
}
body.light-mode .commit-hash {
    background-color: #e9ecef;
    color: #495057;
}

/* 2. थीम स्विच का डिज़ाइन */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 30px;
    width: 60px;
    position: relative;
    cursor: pointer;
}

.theme-switch input {
    display: none;
}

.theme-switch .slider {
    background-color: var(--bg);
    border: 1px solid var(--muted-border);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    transition: .4s;
}

.slider .icon-wrapper {
    position: absolute;
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider .icon-wrapper i {
    color: white;
    font-size: 14px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.fa-sun {
    opacity: 0;
    transform: translateY(20px);
}

.fa-moon {
    opacity: 1;
    transform: translateY(0);
}

input:checked + .slider .icon-wrapper {
    transform: translateX(30px);
    background-color: var(--gold);
}

/* जब लाइट मोड (चेक्ड) हो तो आइकॉन बदलें */
body.light-mode .fa-sun,
input:checked + .slider .fa-sun {
    opacity: 1;
    transform: translateY(0);
}

body.light-mode .fa-moon,
input:checked + .slider .fa-moon {
    opacity: 0;
    transform: translateY(-20px);
}
