.htk-login-box {
    max-width: 440px;
    margin: 40px auto;
    background: #0f172a;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-family: sans-serif;
}
.htk-login-head {
    text-align: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.htk-login-head h2 { color: #ef4444; margin: 0 0 5px 0; font-size: 26px; }
.htk-login-head h3 { color: #f1f5f9; margin: 0 0 5px 0; font-size: 15px; font-weight: 400; }
.htk-login-head p { color: #94a3b8; font-size: 11px; letter-spacing: 1px; }
.htk-input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #020617;
    color: #fff;
    box-sizing: border-box;
}
.htk-btn-primary {
    width: 100%;
    background: #b91c1c;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.htk-btn-primary:hover { background: #dc2626; }
.htk-aula-portal {
    max-width: 1100px;
    margin: 30px auto;
    font-family: sans-serif;
    color: #0f172a;
}
.htk-portal-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.htk-portal-bar h2 { margin: 0 0 5px 0; font-size: 20px; color: #fff; }
.htk-portal-bar p { margin: 0; color: #cbd5e1; font-size: 13px; }
.htk-btn-logout {
    background: #334155;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
}
.htk-disc-tabs {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f1f5f9;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.htk-disc-tabs a {
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}
.htk-disc-tabs a.active {
    background: #b91c1c;
    color: #fff;
}
.htk-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.htk-module-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}
.htk-module-card.htk-locked {
    opacity: 0.65;
    background: #f8fafc;
    border-style: dashed;
}
.htk-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.htk-belt-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #ccc;
}
.htk-status-badge {
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 4px;
}
.htk-status-badge.current { background: #dcfce7; color: #15803d; }
.htk-status-badge.past { background: #e0f2fe; color: #0369a1; }
.htk-status-badge.target { background: #fef08a; color: #854d0e; }
.htk-status-badge.locked { background: #fee2e2; color: #991b1b; }
.htk-locked-overlay {
    margin-top: auto;
    background: #fef2f2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
}
.htk-access-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    padding-top: 15px;
}
.htk-btn-view {
    flex: 1;
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}
.htk-btn-exam {
    flex: 1;
    background: #b91c1c;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}
.htk-copyright-footer {
    font-size: 11px;
    color: #64748b;
    text-align: center;
    margin-top: 35px;
    line-height: 1.5;
    border-top: 1px solid #cbd5e1;
    padding-top: 16px;
}
