/* ==========================================================================
   Candidaturas Concurso - Dashboard Styles
   Cores: #811244 (bordô) e #F9B028 (dourado)
   ========================================================================== */

/* Variables */
.cc-dashboard,
.cc-login-wrapper {
    --cc-primary: #811244;
    --cc-secondary: #5e0d32;
    --cc-accent: #F9B028;
    --cc-accent-dark: #d99a1f;
    --cc-success: #16a34a;
    --cc-error: #dc2626;
    --cc-gray-50: #f9fafb;
    --cc-gray-100: #f3f4f6;
    --cc-gray-200: #e5e7eb;
    --cc-gray-300: #d1d5db;
    --cc-gray-400: #9ca3af;
    --cc-gray-500: #6b7280;
    --cc-gray-600: #4b5563;
    --cc-gray-700: #374151;
    --cc-gray-800: #1f2937;
    --cc-gray-900: #111827;
    --cc-radius: 8px;
    --cc-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --cc-shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
}

/* Reset */
.cc-dashboard *,
.cc-dashboard *::before,
.cc-dashboard *::after,
.cc-login-wrapper *,
.cc-login-wrapper *::before,
.cc-login-wrapper *::after {
    box-sizing: border-box;
}

/* ===== LOGIN ===== */
.cc-login-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cc-login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow-lg);
    padding: 40px;
    text-align: center;
}

.cc-login-box h2 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--cc-primary);
    line-height: 1.4;
}

.cc-login-box > p {
    margin: 0 0 30px;
    color: var(--cc-gray-500);
}

.cc-login-error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--cc-error);
    padding: 12px;
    border-radius: var(--cc-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.cc-login-form .cc-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.cc-login-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--cc-gray-700);
}

.cc-login-form input[type="text"],
.cc-login-form input[type="password"],
.cc-login-form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cc-gray-300);
    border-radius: var(--cc-radius);
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cc-login-form input:focus {
    outline: none;
    border-color: var(--cc-primary);
    box-shadow: 0 0 0 3px rgba(129, 18, 68, 0.1);
}

.cc-login-form .cc-form-group:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-login-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--cc-primary);
}

.cc-login-footer {
    margin-top: 20px;
    font-size: 14px;
}

.cc-login-footer a {
    color: var(--cc-primary);
    text-decoration: none;
}

.cc-login-footer a:hover {
    text-decoration: underline;
}

/* ===== DASHBOARD ===== */
.cc-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--cc-gray-800);
}

/* Dashboard Header */
.cc-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #811244;
    color: #fff;
    padding: 25px 30px;
    border-radius: var(--cc-radius);
    margin-bottom: 25px;
}

.cc-dashboard-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.cc-dashboard-header p {
    margin: 5px 0 0;
    opacity: 0.8;
}

.cc-dashboard-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cc-dashboard-user span {
    opacity: 0.9;
}

.cc-dashboard-user .cc-btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.cc-dashboard-user .cc-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Dashboard Filters */
.cc-dashboard-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
    background: #fff;
    padding: 20px;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    margin-bottom: 25px;
}

.cc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cc-filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--cc-gray-600);
}

.cc-filter-group select,
.cc-filter-group input {
    padding: 10px 12px;
    border: 1px solid var(--cc-gray-300);
    border-radius: var(--cc-radius);
    font-size: 14px;
    min-width: 150px;
}

.cc-filter-group select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M1.17 0L5 3.82 8.83 0 10 1.18l-5 5-5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    cursor: pointer;
}

.cc-filter-group--search {
    flex: 1;
    min-width: 180px;
}

.cc-filter-group--search input {
    width: 100%;
}

.cc-filter-group select:focus,
.cc-filter-group input:focus {
    outline: none;
    border-color: #811244;
}

/* ===== LAYOUT 2 COLUNAS ===== */
.cc-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

.cc-dashboard-main {
    min-width: 0;
}

.cc-dashboard-sidebar {
    position: sticky;
    top: 20px;
}

/* Dashboard Count */
.cc-dashboard-count {
    font-size: 14px;
    color: var(--cc-gray-500);
    margin-bottom: 15px;
}

/* Dashboard Empty */
.cc-dashboard-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
}

.cc-dashboard-empty p {
    color: var(--cc-gray-500);
    margin: 0;
}

/* ===== CARDS EXPANSÍVEIS ===== */
.cc-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-card-expandable {
    background: #fff;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.cc-card-expandable:hover {
    box-shadow: var(--cc-shadow-lg);
}

/* Highlight temporário quando clicado a partir do ranking */
.cc-card-highlight {
    box-shadow: 0 0 0 3px #811244, var(--cc-shadow-lg) !important;
    transition: box-shadow 0.3s;
}

.cc-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
}

.cc-card-info {
    flex: 1;
    min-width: 0;
}

.cc-card-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.cc-card-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.cc-card-category--escrito {
    background: rgba(129, 18, 68, 0.1);
    color: #811244;
}

.cc-card-category--audiovisual {
    background: rgba(249, 176, 40, 0.15);
    color: #b47f1a;
}

.cc-card-status {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
}

.cc-card-status--pendente {
    background: #fef3c7;
    color: #b45309;
}

.cc-card-status--em_analise {
    background: #dbeafe;
    color: #1d4ed8;
}

.cc-card-status--aprovado_juri {
    background: #d1fae5;
    color: #047857;
}

.cc-card-status--rejeitado {
    background: #fee2e2;
    color: #b91c1c;
}

.cc-card-status--vencedor {
    background: rgba(249, 176, 40, 0.2);
    color: #92610f;
}

.cc-card-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--cc-gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-card-authors-inline {
    font-size: 13px;
    color: var(--cc-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-card-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cc-card-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
    padding: 8px 12px;
    background: rgba(249, 176, 40, 0.15);
    border-radius: 6px;
}

.cc-card-score-value {
    font-size: 20px;
    font-weight: 700;
    color: #811244;
}

.cc-card-score-label {
    font-size: 12px;
    color: var(--cc-gray-400);
}

.cc-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Grupo Avaliado: badge + botão editar empilhados */
.cc-evaluated-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cc-badge-avaliado {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 1;
}

.cc-badge-avaliado svg {
    stroke: #fff;
    flex-shrink: 0;
}

/* Botão Editar (após avaliação) */
.cc-btn-edit-eval {
    background: transparent !important;
    color: #811244 !important;
    border: 1px solid #811244 !important;
    font-size: 12px !important;
    padding: 4px 12px !important;
}

.cc-btn-edit-eval:hover {
    background: #811244 !important;
    color: #fff !important;
}

/* Toggle Button */
.cc-btn-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cc-toggle-icon {
    transition: transform 0.2s;
}

.cc-card-expandable.is-expanded .cc-toggle-icon {
    transform: rotate(180deg);
}

/* Área Expansível */
.cc-card-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--cc-gray-50);
    border-top: 1px solid var(--cc-gray-200);
}

.cc-card-expandable.is-expanded .cc-card-expand {
    max-height: 1200px;
    overflow: visible;
}

.cc-card-expand-content {
    padding: 24px;
}

/* ===== COUNTDOWN PANEL ===== */
.cc-countdown-panel {
    background: #fff;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.cc-countdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cc-primary, #811244);
    color: #fff;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cc-countdown-header svg {
    opacity: 0.85;
    flex-shrink: 0;
}

.cc-countdown-timer {
    padding: 20px 16px;
}

.cc-countdown-digits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cc-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
}

.cc-countdown-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--cc-primary, #811244);
    background: var(--cc-gray-50);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 54px;
    text-align: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.cc-countdown-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--cc-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.cc-countdown-sep {
    font-size: 24px;
    font-weight: 700;
    color: var(--cc-gray-300);
    padding-bottom: 20px;
    line-height: 1;
}

.cc-countdown-date {
    text-align: center;
    font-size: 12px;
    color: var(--cc-gray-400);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--cc-gray-100);
}

/* Countdown urgente (< 24h) */
.cc-countdown-urgent .cc-countdown-value {
    color: #dc2626;
    background: #fef2f2;
}

.cc-countdown-urgent .cc-countdown-sep {
    color: #fca5a5;
}

/* Countdown expirado */
.cc-countdown-expired .cc-countdown-header {
    background: var(--cc-gray-500);
}

.cc-countdown-ended {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--cc-gray-500);
}

.cc-countdown-ended svg {
    color: #dc2626;
    opacity: 0.7;
}

.cc-countdown-ended span {
    font-size: 14px;
    font-weight: 600;
    color: var(--cc-gray-600);
}

/* Responsive */
@media (max-width: 768px) {
    .cc-countdown-value {
        font-size: 22px;
        min-width: 44px;
        padding: 6px 8px;
    }

    .cc-countdown-unit {
        min-width: 44px;
    }

    .cc-countdown-sep {
        font-size: 20px;
    }
}

/* ===== RANKING PANEL ===== */
.cc-ranking-panel {
    background: #fff;
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    overflow: hidden;
}

.cc-ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #811244;
    color: #fff;
}

.cc-ranking-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.cc-ranking-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.cc-ranking-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--cc-gray-400);
}

.cc-ranking-empty p {
    margin: 0;
    font-size: 14px;
}

.cc-ranking-list {
    max-height: 450px;
    overflow-y: auto;
}

.cc-ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cc-gray-100);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 6px;
}

.cc-ranking-item:hover {
    background: var(--cc-gray-50, #f9fafb);
}

.cc-ranking-item:last-child {
    border-bottom: none;
}

.cc-ranking-position {
    width: 28px;
    flex-shrink: 0;
    text-align: center;
}

.cc-ranking-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--cc-gray-200);
    color: var(--cc-gray-600);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}

/* Todos os círculos de classificação usam o estilo base .cc-ranking-number */

.cc-ranking-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cc-ranking-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--cc-gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-ranking-authors {
    font-size: 11px;
    color: var(--cc-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cc-ranking-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-shrink: 0;
}

.cc-ranking-score-value {
    font-size: 16px;
    font-weight: 700;
    color: #811244;
}

.cc-ranking-score-label {
    font-size: 11px;
    color: var(--cc-gray-400);
}

/* ===== BUTTONS ===== */
.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--cc-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cc-btn:not(.cc-btn-outline) {
    background: #811244;
    color: #fff;
}

.cc-btn:not(.cc-btn-outline):hover {
    background: #5e0d32;
}

.cc-btn-outline {
    background: transparent;
    border: 1px solid var(--cc-gray-300);
    color: var(--cc-gray-700);
}

.cc-btn-outline:hover {
    border-color: var(--cc-gray-400);
    background: var(--cc-gray-50);
}

.cc-btn-small {
    padding: 7px 12px;
    font-size: 13px;
}

.cc-btn-full {
    width: 100%;
}

.cc-btn-evaluate {
    background: #F9B028 !important;
    color: #5e3a08 !important;
}

.cc-btn-evaluate:hover {
    background: #d99a1f !important;
}

/* .cc-btn-evaluated removido — substituído por .cc-evaluated-group + .cc-badge-avaliado */

.cc-btn-success {
    background: var(--cc-success) !important;
    color: #fff !important;
}

.cc-btn-primary {
    background: #811244 !important;
    color: #fff !important;
    border: none;
    font-weight: 600;
}

.cc-btn-primary:hover {
    background: #5e0d32 !important;
}

.cc-btn-lg {
    padding: 14px 32px !important;
    font-size: 15px !important;
}

/* ===== LOADING ===== */
.cc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--cc-gray-500);
}

.cc-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--cc-gray-200);
    border-top-color: #811244;
    border-radius: 50%;
    animation: cc-spin 0.8s linear infinite;
}

@keyframes cc-spin {
    to { transform: rotate(360deg); }
}

/* ===== FORMULÁRIO DE AVALIAÇÃO ===== */
.cc-eval-frontend {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Info Card */
.cc-eval-info-card {
    background: #fff;
    border: 1px solid var(--cc-gray-200);
    border-radius: var(--cc-radius);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.cc-eval-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.cc-eval-info-row:not(:last-child) {
    border-bottom: 1px solid var(--cc-gray-100);
}

.cc-eval-info-label {
    font-size: 12px;
    color: var(--cc-gray-500);
}

.cc-eval-info-value {
    font-size: 13px;
    color: var(--cc-gray-800);
    font-weight: 500;
    text-align: right;
}

/* Author sections in info card */
.cc-eval-info-row--author-header {
    margin-top: 4px;
    padding-top: 10px !important;
    border-top: 1px solid var(--cc-gray-200) !important;
}

.cc-eval-info-label--author {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #811244 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cc-eval-info-row--author-detail .cc-eval-info-label {
    padding-left: 12px;
}

.cc-eval-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.cc-eval-badge--escrito {
    background: rgba(129, 18, 68, 0.1);
    color: #811244;
}

.cc-eval-badge--audiovisual {
    background: rgba(249, 176, 40, 0.15);
    color: #b47f1a;
}

/* Criteria Section */
.cc-eval-criteria-section {
    margin-bottom: 20px;
}

.cc-eval-criteria-section h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #811244;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-eval-scale {
    font-size: 12px;
    font-weight: 400;
    color: var(--cc-gray-500);
}

.cc-eval-criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cc-eval-criterio-card {
    background: #fff;
    border: 1px solid var(--cc-gray-200);
    border-radius: var(--cc-radius);
    padding: 12px;
    display: flex;
    gap: 10px;
    transition: border-color 0.2s;
}

.cc-eval-criterio-card:focus-within {
    border-color: #811244;
}

.cc-eval-criterio-letter {
    width: 28px;
    height: 28px;
    background: #811244;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.cc-eval-criterio-content {
    flex: 1;
    min-width: 0;
}

.cc-eval-criterio-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--cc-gray-800);
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-eval-weight {
    font-size: 10px;
    font-weight: 600;
    color: #811244;
    background: rgba(129, 18, 68, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

.cc-eval-criterio-desc {
    font-size: 11px;
    color: var(--cc-gray-500);
    margin: 0 0 8px;
}

.cc-eval-criterio-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cc-eval-criterio-fields input[type="number"] {
    width: 70px;
    padding: 8px 10px;
    border: 1px solid var(--cc-gray-300);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: border-color 0.2s;
}

.cc-eval-criterio-fields input[type="number"]:focus {
    outline: none;
    border-color: #811244;
}

.cc-eval-criterio-fields input[type="number"].error {
    border-color: var(--cc-error);
    background: rgba(220, 38, 38, 0.05);
}

.cc-eval-criterio-fields textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--cc-gray-200);
    border-radius: 4px;
    font-size: 12px;
    resize: vertical;
    min-height: 40px;
    transition: border-color 0.2s;
}

.cc-eval-criterio-fields textarea:focus {
    outline: none;
    border-color: #811244;
}

/* Result Section */
.cc-eval-result-section {
    margin-bottom: 24px;
}

.cc-eval-result-box {
    background: #811244;
    border-radius: var(--cc-radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cc-eval-result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cc-eval-result-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.cc-eval-result-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.cc-eval-result-max {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.cc-eval-result-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.cc-eval-result-highlight .cc-eval-result-value {
    color: #F9B028;
}

.cc-eval-result-date {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cc-eval-result-date label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
}

.cc-eval-result-date input[type="date"] {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
}

.cc-eval-result-date input[type="date"]:focus {
    outline: none;
    border-color: #F9B028;
}

/* Collapse Button */
.cc-eval-collapse-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer;
    padding: 8px 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.cc-eval-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

.cc-eval-collapse-btn svg {
    display: block;
}

/* Actions Section */
.cc-eval-actions-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.cc-eval-last-update {
    font-size: 12px;
    color: var(--cc-gray-500);
}

/* Messages */
.cc-success-msg {
    text-align: center;
    padding: 30px 20px;
}

.cc-success-msg svg {
    color: var(--cc-success);
    margin-bottom: 12px;
}

.cc-success-msg h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--cc-gray-800);
}

.cc-success-msg p {
    margin: 0;
    color: var(--cc-gray-600);
    font-size: 14px;
}

.cc-error-msg {
    text-align: center;
    padding: 30px 20px;
    color: var(--cc-error);
    background: rgba(220, 38, 38, 0.05);
    border-radius: var(--cc-radius);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .cc-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .cc-dashboard-sidebar {
        position: static;
        order: -1;
    }

    .cc-ranking-list {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .cc-dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cc-dashboard-filters {
        flex-direction: column;
    }

    .cc-filter-group {
        width: 100%;
    }

    .cc-filter-group select,
    .cc-filter-group input {
        width: 100%;
    }

    .cc-card-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cc-card-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .cc-card-actions {
        flex-wrap: wrap;
    }

    .cc-eval-criteria-grid {
        grid-template-columns: 1fr;
    }

    .cc-eval-result-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cc-eval-result-divider {
        width: 100%;
        height: 1px;
    }

    .cc-eval-result-date {
        margin-left: 0;
        width: 100%;
    }

    .cc-eval-result-date input[type="date"] {
        width: 100%;
    }

    .cc-eval-actions-section {
        flex-direction: column;
        align-items: stretch;
    }

    .cc-btn-lg {
        width: 100%;
        text-align: center;
    }
}
