body{
    margin:0;
    font-family: Arial, sans-serif;
    height:100vh;
    background:#000;
    color:rgb(197, 28, 28);
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-container{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
    background:rgb(46, 45, 45);
}

.login-box{
    background:#111;
    padding:40px;
    border-radius:12px;
    box-shadow:0 0 25px rgba(0,0,0,0.6);
    text-align:center;
    min-width:340px;
}

.discord-btn{
    background:#5865F2;
    color:white;
    text-decoration:none;
    padding:12px 20px;
    display:inline-block;
    border-radius:8px;
    margin-top:15px;
    font-weight:bold;
}

.discord-btn:hover{
    background:#4752C4;
}

.container{
    max-width:1150px;
    margin:0 auto;
    color:rgb(117, 117, 117);
}

header{
    background:#111;
    padding:15px 25px;
    border-radius:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    box-shadow:0 0 20px rgba(0,0,0,.4);
}

.card{
    background:#181818;
    padding:25px;
    margin-top:25px;
    border-radius:12px;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
}
table td, th{
    padding:10px;
    border-bottom:1px solid #333;
}

.btn{
    background:#0078ff;
    padding:10px 18px;
    border-radius:8px;
    border:none;
    color:white;
}

input, select{
    width:100%;
    padding:8px;
    margin-bottom:10px;
    border-radius:5px;
    border:none;
}

.btnSmall{
    background:#444;
    padding:6px 12px;
    border-radius:5px;
    text-decoration:none;
    color:white;
}
.btnSmallRed{
    background:#cc0000;
    padding:6px 12px;
    border-radius:5px;
    text-decoration:none;
    color:white;
}

.linkPass{
    color:#14ff62;
    font-weight:bold;
}

.linkFail{
    color:#ff4e4e;
    font-weight:bold;
}




.examTable {
    width:100%;
    border-collapse:collapse;
}

.examTable th, .examTable td{
    padding:10px;
    border-bottom:1px solid #333;
    text-align:center;
}

.examTable tr:hover{
    background:#222;
}

.formRow{
    display:flex;
    gap:10px;
}

.btnSmall{
    padding:5px 10px;
    background:#444;
    border-radius:4px;
    text-decoration:none;
    color:white;
}

.btnSmallGreen{
    padding:5px 10px;
    background:#2ecc71;
    text-decoration:none;
    color:black;
    border-radius:4px;
}

.btnSmallRed{
    padding:5px 10px;
    background:#e74c3c;
    text-decoration:none;
    color:white;
    border-radius:4px;
}

.header-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ================= PEŁNY DARK MODE ================= */

html, body{
    height:100%;
    margin:0;
    background:#000;
    color:#ffffff;
    font-family:Arial, sans-serif;
}

/* ===== LAYOUT EGZAMINU ===== */
.examTableLayout{
    display:flex;
    flex-direction:column;
    height:100vh;
    background:#dfd8d8;
}

/* ===== GÓRA ===== */
.examTop{
    background:#111;
    color:#fff;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #dfd8d8;
}

/* ===== WYNIK ===== */
.liveScoreBox{
    padding:12px 20px;
    background:#0b0b0b;
    border-bottom:1px solid #222;
}

.liveScoreBox b{
    color:#14ff62;
}

.liveScoreBar{
    height:14px;
    background:#222;
    border-radius:8px;
    overflow:hidden;
    margin-top:6px;
}

#liveScoreFill{
    height:100%;
    width:0%;
    background:#068002;
    transition:.3s;
}

/* ===== TABELA ===== */
.tableWrapper{
    flex:1;
    overflow:auto;
    background:#000;
}

.examEvalTable{
    width:100%;
    border-collapse:collapse;
    color:#ffffff;
}

.examEvalTable thead th{
    position:sticky;
    top:0;
    background:#0f3a09;
    border-bottom:1px solid #333;
    z-index:2;
    font-weight:600;
}

.examEvalTable th,
.examEvalTable td{
    padding:12px;
    border-bottom:1px solid #ffffff;
}

.examEvalTable tbody tr:hover{
    background:#141414;
}

.questionCol{
    width:60%;
    text-align:left;
}

/* ===== RADIO BUTTONY ===== */
.examEvalTable input[type=radio]{
    transform:scale(1.2);
    accent-color:#2bff00;
    cursor:pointer;
}

/* ===== DÓŁ ===== */
.examBottom{
    padding:14px 20px;
    background:#0b0b0b;
    border-top:1px solid #222;
    display:flex;
    gap:10px;
    align-items:center;
}

/* ===== SELECT / BUTTON ===== */
.examBottom select{
    background:#111;
    color:#fff;
    border:1px solid #333;
    padding:8px;
    border-radius:6px;
}

.examBottom .btn{
    background:#14ff62;
    color:#000;
    font-weight:bold;
}

.scoreSelect{
    background:#111;
    color:#fff;
    border:1px solid #333;
    padding:6px;
    border-radius:6px;
    width:100px;
    text-align:center;
}
