/* ========================================
   ADMIN - Controls Grid, Admin Layouts
   ======================================== */

/* Admin Controls Grid */
.admin-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.control-section {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: none;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.control-section:hover {
    background: rgb(35, 35, 55);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.control-section h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 700;
}

.control-section-clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.control-section-clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s ease;
}

.control-section-clickable:hover::before {
    left: 100%;
}

.control-section-clickable:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--accent-purple);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 8px rgba(102, 126, 234, 0.4);
}

.control-section-hint {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin-top: 10px;
    font-style: italic;
}

.control-section-compact {
    padding: 20px 25px;
}

.control-section-compact h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.control-section-compact .form-group {
    margin-bottom: 15px;
}

.participants-card-full-width {
    width: 100%;
    max-width: 100%;
    margin: 4px 0 16px; /* more compact vertically */
}

