/* ═══════════════════════════════════════════════
   KONGRE DOLULUK PANELİ — Formda atölye durumu
   ═══════════════════════════════════════════════ */

.kongre-doluluk-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 8px 0 14px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
}

/* ── Header ── */
.kongre-doluluk-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}
.kongre-doluluk-icon {
    font-size: 16px;
}
.kongre-doluluk-title {
    font-weight: 600;
    color: #334155;
    flex: 1;
}
.kongre-doluluk-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background .15s;
}
.kongre-doluluk-toggle:hover {
    background: #e2e8f0;
    color: #475569;
}

/* ── Body ── */
.kongre-doluluk-body {
    padding: 12px 14px;
}

/* ── Grid: Kartlar ── */
.kongre-doluluk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

/* ── Tek atölye kartı ── */
.kongre-doluluk-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    transition: border-color .2s, box-shadow .2s;
}
.kongre-doluluk-item.dolu {
    background: #fef2f2;
    border-color: #fecaca;
    opacity: 0.7;
}
.kongre-doluluk-item.az {
    background: #fffbeb;
    border-color: #fde68a;
}

.kongre-doluluk-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.kongre-doluluk-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 700;
    font-size: 12px;
}
.kongre-doluluk-item.dolu .kongre-doluluk-no {
    background: #fee2e2;
    color: #991b1b;
}
.kongre-doluluk-item.az .kongre-doluluk-no {
    background: #fef3c7;
    color: #92400e;
}

/* ── Badge (DOLU / X yer) ── */
.kongre-doluluk-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.kongre-doluluk-badge.musait {
    background: #dcfce7;
    color: #166534;
}
.kongre-doluluk-badge.az {
    background: #fef3c7;
    color: #92400e;
}
.kongre-doluluk-badge.dolu {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Atölye adı ── */
.kongre-doluluk-ad {
    font-weight: 500;
    color: #1e293b;
    font-size: 12.5px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Oturum etiketi ── */
.kongre-doluluk-oturum {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
}

/* ── Doluluk barı ── */
.kongre-doluluk-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}
.kongre-doluluk-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .4s ease;
}
.kongre-doluluk-bar-fill.musait {
    background: #22c55e;
}
.kongre-doluluk-bar-fill.az {
    background: #f59e0b;
}
.kongre-doluluk-bar-fill.dolu {
    background: #ef4444;
}

/* ── Legend ── */
.kongre-doluluk-legend {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.kongre-doluluk-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #64748b;
}
.kongre-doluluk-legend-item .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.kongre-doluluk-legend-item.musait .dot { background: #22c55e; }
.kongre-doluluk-legend-item.az .dot     { background: #f59e0b; }
.kongre-doluluk-legend-item.dolu .dot   { background: #ef4444; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .kongre-doluluk-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .kongre-doluluk-ad {
        font-size: 11.5px;
    }
    .kongre-doluluk-legend {
        gap: 10px;
        flex-wrap: wrap;
    }
}
@media (max-width: 380px) {
    .kongre-doluluk-grid {
        grid-template-columns: 1fr;
    }
}
