/* =========================================================
   ADMIN SCHEMES
   ========================================================= */

.scheme-admin-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.scheme-admin-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #0d6efd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scheme-admin-header h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    font-weight: 800;
}

.scheme-admin-header p {
    margin: 7px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.scheme-admin-add-btn {
    white-space: nowrap;
    text-decoration: none;
}


/* =========================================================
   GRID
   ========================================================= */

.scheme-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   CARD
   ========================================================= */

.scheme-admin-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 7px 25px rgba(15, 23, 42, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.scheme-admin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.10);
}


/* =========================================================
   IMAGE
   ========================================================= */

.scheme-admin-image {
    position: relative;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f1f5f9;
}

.scheme-admin-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.scheme-admin-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #94a3b8;
}

.scheme-admin-image-placeholder i {
    font-size: 50px;
}

.scheme-admin-image-placeholder span {
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   STATUS
   ========================================================= */

.scheme-admin-status {
    position: absolute;
    top: 14px;
    right: 14px;
}

.scheme-admin-status span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 30px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    font-size: 10px;
    font-weight: 800;
}

.scheme-admin-status i {
    font-size: 7px;
}

.scheme-status-active {
    color: #15803d;
}

.scheme-status-inactive {
    color: #dc2626;
}


/* =========================================================
   CONTENT
   ========================================================= */

.scheme-admin-content {
    padding: 22px;
}

.scheme-admin-type {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.scheme-admin-title-row h2 {
    margin: 8px 0 0;
    color: #111827;
    font-size: 21px;
    line-height: 1.3;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.scheme-admin-description {
    margin: 12px 0 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.scheme-no-description {
    font-style: italic;
    color: #94a3b8;
}


/* =========================================================
   DETAILS
   ========================================================= */

.scheme-admin-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.scheme-admin-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 11px;
}

.scheme-admin-detail-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eaf2ff;
    color: #0d6efd;
}

.scheme-admin-detail-icon i {
    font-size: 13px;
}

.scheme-admin-detail span {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.scheme-admin-detail strong {
    display: block;
    color: #1e293b;
    font-size: 12px;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.scheme-admin-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.scheme-admin-summary-item {
    padding: 11px 9px;
    border-right: 1px solid #e5e7eb;
}

.scheme-admin-summary-item:last-child {
    border-right: none;
}

.scheme-admin-summary-item span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.scheme-admin-summary-item strong {
    display: block;
    color: #1e293b;
    font-size: 13px;
}

.scheme-admin-summary-item.collected strong {
    color: #16a34a;
}

.scheme-admin-summary-item.outstanding strong {
    color: #dc2626;
}


/* =========================================================
   PACKAGE
   ========================================================= */

.scheme-admin-package {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #e5e7eb;
}

.scheme-admin-package h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 11px;
    color: #1e293b;
    font-size: 13px;
}

.scheme-admin-package h3 i {
    color: #0d6efd;
}

.scheme-admin-package ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scheme-admin-package li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.scheme-admin-package li i {
    margin-top: 3px;
    color: #16a34a;
    font-size: 10px;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.scheme-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #e5e7eb;
}

.scheme-action-btn {
    flex: 1;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    transition: .2s ease;
}

.scheme-action-btn.members {
    background: #ecfdf5;
    color: #15803d;
}

.scheme-action-btn.edit {
    background: #eff6ff;
    color: #2563eb;
}

.scheme-action-btn.pause {
    background: #fef2f2;
    color: #dc2626;
}

.scheme-action-btn.activate {
    background: #ecfdf5;
    color: #15803d;
}

.scheme-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(.96);
}


/* =========================================================
   EMPTY
   ========================================================= */

.scheme-admin-empty {
    padding: 70px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.scheme-admin-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
}

.scheme-admin-empty-icon i {
    font-size: 30px;
}

.scheme-admin-empty h2 {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 20px;
}

.scheme-admin-empty p {
    max-width: 450px;
    margin: 0 auto 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}