
:root {
    --primary-color: #ff8c00; /* Dark Orange */
    --secondary-color: #000000; /* Black */
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 50px auto;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.logo-container img {
    max-height: 60px;
}

h1, h2, h3 {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e07b00;
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Evaluation Form Styles */
.section-block {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #eee;
    border-left: 5px solid var(--primary-color);
}

.question-item {
    margin-bottom: 25px;
}

.question-text {
    font-weight: bold;
    margin-bottom: 10px;
}

.options-list {
    list-style: none;
    padding-left: 0;
}

.options-list li {
    margin-bottom: 8px;
}

/* Admin Dashboard Styles */
.admin-nav {
    background: var(--secondary-color);
    padding: 10px 0;
    margin-bottom: 30px;
}

.admin-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.admin-nav ul li {
    margin: 0 15px;
}

.admin-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}

.admin-nav ul li a:hover {
    color: var(--primary-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: var(--secondary-color);
    color: var(--white);
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.footer {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #777;
}

/* CSP Fixes: Helper Classes */
.w-100 { width: 100%; }
.max-w-150 { max-width: 150px; }
.max-w-200 { max-width: 200px; }
.max-w-400 { max-width: 400px; }
.max-w-500 { max-width: 500px; }
.max-w-600 { max-width: 600px; }
.max-w-80p { width: 80%; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-bold { font-weight: bold; }
.text-italic { font-style: italic; }
.text-monospace { font-family: monospace; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 24px; }
.text-xxl { font-size: 32px; }

.m-0 { margin: 0; }
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-100 { margin-top: 100px; }
.mb-5 { margin-bottom: 5px; }
.mb-8 { margin-bottom: 8px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mr-10 { margin-right: 10px; }

.p-5-15 { padding: 5px 15px; }
.p-10 { padding: 10px; }
.p-15 { padding: 15px; }
.p-20 { padding: 20px; }
.p-15-40 { padding: 15px 40px; }
.pb-5 { padding-bottom: 5px; }
.pt-20 { padding-top: 20px; }

.d-flex { display: flex; }
.d-inline-block { display: inline-block; }
.d-grid { display: grid; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-30 { gap: 30px; }
.flex-1 { flex: 1; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.grid-cols-reports { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }

.border-top-eee { border-top: 1px solid #eee; }
.border-bottom-ddd { border-bottom: 1px solid #ddd; }
.border-ddd { border: 1px solid #ddd; }
.border-eee { border: 1px solid #eee; }
.border-dashed-ccc { border: 1px dashed #ccc; }
.border-left-5-primary { border-left: 5px solid var(--primary-color); }
.border-left-5-secondary { border-left: 5px solid var(--secondary-color); }
.border-left-5-success { border-left: 5px solid #28a745; }
.border-left-5-warning { border-left: 5px solid #ffc107; }
.border-top-4-primary { border-top: 4px solid var(--primary-color); }
.border-top-4-secondary { border-top: 4px solid var(--secondary-color); }
.border-top-4-success { border-top: 4px solid #28a745; }

.bg-f9 { background-color: #f9f9f9; }
.bg-fff { background-color: #fff; }
.bg-fff8e1 { background-color: #fff8e1; }

.color-primary { color: var(--primary-color); }
.color-secondary { color: var(--secondary-color); }
.color-success { color: #28a745; }
.color-warning { color: #ffc107; }
.color-danger { color: #dc3545; }
.color-666 { color: #666; }

.letter-spacing-5 { letter-spacing: 5px; }
.cursor-pointer { cursor: pointer; }
.no-decoration { text-decoration: none; }

/* Tab styles */
.tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
}
.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-weight: bold;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.tab-link:hover {
    color: #333;
    background: #f9f9f9;
}
.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Visibility helpers for CSP compliance */
.hidden { display: none !important; }
.visible { display: block !important; }

/* Edit form visibility */
[data-edit-form="true"][data-hidden="true"] { display: none !important; }
