/* =====================================================
   SECTIONS & CONTAINERS
   Section layouts, containers, page structure
===================================================== */

/* ===============================
   SECTIONS
================================ */

.section {
    width: 100%;
    padding: 100px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-highlight {
    background: linear-gradient(
        135deg,
        rgba(255,26,26,0.15),
        rgba(255,68,0,0.05)
    );
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.section-title span { 
    color: var(--primary); 
}

.section-title.spaced {
    margin-top: 4rem;
}

.section-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.section-center {
    text-align: center;
    margin-top: 40px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-sub {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

/* ===============================
   PAGE COMPONENTS
================================ */

.page-head.center {
    text-align: center;
    margin-bottom: 40px;
}

.page-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
    opacity: .9;
}

.page-title.accent {
    color: var(--primary);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 6px;
}

.page-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.page-tabs .tab {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.page-tabs .tab.active {
    background: var(--primary);
    color: #fff;
}

/* ===============================
   UTILITY CLASSES
================================ */

.center {
    text-align: center;
}

.align-center {
    align-items: center;
}

.icon-xl {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.link-action {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.link-action:hover {
    text-decoration: underline;
}

/* ===============================
   STATES
================================ */

.loading,
.muted {
    color: var(--text-muted);
    text-align: center;
}

.error {
    color: var(--primary);
    text-align: center;
}

.empty-state {
    opacity: 0.7;
    padding: 40px 0;
}

.status-live {
    color: var(--primary);
    font-weight: 600;
}

.status-offline {
    color: var(--text-secondary);
}

.status-active {
    color: #3ddc97;
    font-weight: 500;
}

.status-inactive {
    color: #ff5c5c;
    opacity: 0.85;
}
