:root { 
    --gold: #dfb74c; 
    --bg: #0e0d0c; 
    --panel-bg: rgba(30,28,26,0.9);
}

body { 
    background: var(--bg); 
    color: #e6e3df; 
    font-family: sans-serif; 
    margin: 0; 
}

/* Centering the panel structure on laptops and desktops */
.main-container { 
    padding: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    min-height: 100vh;
}

.glass-panel { 
    background: var(--panel-bg); 
    border: 1px solid rgba(223,183,76,0.3); 
    padding: 30px; 
    border-radius: 15px; 
    width: 95%; 
    max-width: 900px; 
    backdrop-filter: blur(10px); 
    margin: 0 auto; 
}

/* Tab/Link styling to eliminate browser default blue */
.tabs-nav { 
    margin-bottom: 25px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 15px; 
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn { 
    padding: 10px 15px; 
    text-decoration: none; 
    color: #ffffff !important; 
    border: 1px solid #444;
    border-radius: 5px; 
    font-size: 14px; 
    transition: 0.3s;
}

.tab-btn:hover { 
    border-color: var(--gold);
    color: var(--gold) !important;
}

.tab-btn.active { 
    background: var(--gold); 
    color: #000000 !important; 
    border-color: var(--gold);
    font-weight: bold; 
}

.sub-panel { 
    background: rgba(0,0,0,0.3); 
    padding: 15px; 
    border-radius: 10px; 
    border: 1px solid #222; 
}

.scroll-list { 
    max-height: 200px; 
    overflow-y: auto; 
    margin-top: 10px; 
}

.list-item { 
    padding: 10px; 
    border-bottom: 1px solid #222; 
    font-size: 13px; 
    color: #ccc; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input, textarea, select { 
    width: 100%; 
    padding: 12px; 
    margin: 8px 0; 
    background: #000; 
    border: 1px solid #333; 
    color: #fff; 
    border-radius: 5px; 
    box-sizing: border-box; 
}

.gold-btn { 
    width: 100%; 
    padding: 15px; 
    background: linear-gradient(135deg, #dfb74c, #b88e2f); 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 5px; 
    margin-top: 10px; 
    color: #000; 
}

.sop-section { 
    background: rgba(0,0,0,0.5); 
    padding: 20px; 
    border-left: 4px solid var(--gold); 
    margin: 15px 0; 
    border-radius: 5px; 
    font-size: 14px; 
    line-height: 1.6; 
}

.checklist-section { margin-bottom: 20px; }

.check-item { 
    display: block; 
    padding: 15px; 
    background: rgba(255,255,255,0.05); 
    margin-bottom: 8px; 
    border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.1); 
    cursor: pointer; 
}

.check-item input { 
    width: auto; 
    margin-right: 15px; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 15px; 
}

th, td { 
    text-align: left; 
    padding: 12px; 
    border-bottom: 1px solid #222; 
    font-size: 13px; 
}

th { 
    color: var(--gold); 
    font-size: 11px; 
    text-transform: uppercase; 
}

.header-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}

.logout-link { 
    color: #ff5b5b !important; 
    text-decoration: none; 
    border: 1px solid #ff5b5b; 
    padding: 5px 12px; 
    border-radius: 5px; 
    font-size: 12px; 
}

.gold-text { 
    color: var(--gold); 
    font-weight: bold; 
}

.status-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}:root { 
    --gold: #dfb74c; 
    --bg: #0e0d0c; 
    --panel-bg: rgba(30,28,26,0.9);
}

body { 
    background: var(--bg); 
    color: #e6e3df; 
    font-family: sans-serif; 
    margin: 0; 
}

/* Centering the panel on laptops */
.main-container { 
    padding: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    min-height: 100vh;
}

.glass-panel { 
    background: var(--panel-bg); 
    border: 1px solid rgba(223,183,76,0.3); 
    padding: 30px; 
    border-radius: 15px; 
    width: 95%; 
    max-width: 900px; 
    backdrop-filter: blur(10px); 
    margin: 0 auto; 
}

/* Tab/Link visibility */
.tabs-nav { 
    margin-bottom: 25px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 15px; 
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn { 
    padding: 10px 15px; 
    text-decoration: none; 
    color: #ffffff !important; 
    border: 1px solid #444;
    border-radius: 5px; 
    font-size: 14px; 
    transition: 0.3s;
}

.tab-btn.active { 
    background: var(--gold); 
    color: #000000 !important; 
    border-color: var(--gold);
    font-weight: bold; 
}

.sub-panel { 
    background: rgba(0,0,0,0.3); 
    padding: 15px; 
    border-radius: 10px; 
    border: 1px solid #222; 
}

.scroll-list { 
    max-height: 200px; 
    overflow-y: auto; 
    margin-top: 10px; 
}

.list-item { 
    padding: 10px; 
    border-bottom: 1px solid #222; 
    font-size: 13px; 
    color: #ccc; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input, textarea, select { 
    width: 100%; 
    padding: 12px; 
    margin: 8px 0; 
    background: #000; 
    border: 1px solid #333; 
    color: #fff; 
    border-radius: 5px; 
    box-sizing: border-box; 
}

/* Search Bar Styling */
#sopSearch {
    background: #000 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23dfb74c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat 15px center;
    padding-left: 45px !important;
}

.gold-btn { 
    width: 100%; 
    padding: 15px; 
    background: linear-gradient(135deg, #dfb74c, #b88e2f); 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 5px; 
    margin-top: 10px; 
    color: #000; 
}

.view-sop-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.sop-section { 
    background: rgba(0,0,0,0.5); 
    padding: 20px; 
    border-left: 4px solid var(--gold); 
    margin: 15px 0; 
    border-radius: 5px; 
    font-size: 14px; 
    line-height: 1.6; 
}

.check-item { 
    display: block; 
    padding: 15px; 
    background: rgba(255,255,255,0.05); 
    margin-bottom: 8px; 
    border-radius: 8px; 
    border: 1px solid rgba(255,255,255,0.1); 
    cursor: pointer; 
}

table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #222; font-size: 13px; }
th { color: var(--gold); font-size: 11px; text-transform: uppercase; }

.header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.logout-link { color: #ff5b5b !important; text-decoration: none; border: 1px solid #ff5b5b; padding: 5px 12px; border-radius: 5px; font-size: 12px; }
.gold-text { color: var(--gold); font-weight: bold; }
.status-tag { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; }