/* ===== My Account — Cards & Shared Styles ===== */

.gss-account-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(26,26,46,.05);
    padding: 22px;
    margin-bottom: 14px;
    transition: box-shadow .2s;
}
.gss-account-card:hover {
    box-shadow: 0 6px 28px rgba(26,26,46,.08);
}
.gss-account-card--grace {
    border-left: 3px solid #dba617;
}
.gss-account-card--overdue {
    border-left: 3px solid #c0392b;
}
.gss-account-card--refunded {
    opacity: .55;
}

/* Row layout */
.gss-row-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.gss-row-info {
    flex: 1;
    min-width: 0;
}
.gss-row-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
    line-height: 1.3;
}
.gss-row-title--sm {
    font-size: 14px;
}

/* Meta line */
.gss-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #8a8a9a;
}
.gss-meta .gss-sep {
    color: #ddd;
}
.gss-meta strong {
    color: #3a3a52;
    font-weight: 600;
}

/* Status badges */
.gss-st {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.gss-st--active,
.gss-st--completed,
.gss-st--paid-up {
    background: #e8f8ef;
    color: #1a9a4a;
}
.gss-st--grace,
.gss-st--due,
.gss-st--pending {
    background: #fff4e0;
    color: #c78a1e;
}
.gss-st--overdue {
    background: #fde8e8;
    color: #c0392b;
}
.gss-st--processing {
    background: #e0ecff;
    color: #2c5cc5;
}
.gss-st--refunded,
.gss-st--cancelled {
    background: #f0f0f2;
    color: #8a8a9a;
}
.gss-st--recurring {
    background: #ece0ff;
    color: #7c3aed;
}

/* Buttons */
.gss-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: .2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}
.gss-btn-dark:hover {
    background: #2d2d4a;
    color: #fff;
    transform: translateY(-1px);
}
.gss-btn-red {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    background: #b73239;
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: .2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}
.gss-btn-red:hover {
    background: #9a2a30;
    color: #fff;
    transform: translateY(-1px);
}
.gss-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #fff;
    color: #3a3a52;
    border: 1.5px solid #e0deda;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: .2s;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}
.gss-btn-outline:hover {
    border-color: #3a3a52;
    color: #3a3a52;
    transform: translateY(-1px);
}

/* Sub-sections */
.gss-sub-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0eeec;
}
.gss-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.gss-sub-label {
    font-size: 11px;
    font-weight: 600;
    color: #8a8a9a;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Progress bar */
.gss-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.gss-progress-track {
    flex: 1;
    height: 7px;
    background: #f0eeec;
    border-radius: 4px;
    overflow: hidden;
    max-width: 240px;
}
.gss-progress-fill {
    height: 100%;
    border-radius: 4px;
}
.gss-progress-fill--green {
    background: #1a9a4a;
}
.gss-progress-fill--red {
    background: #c0392b;
}
.gss-progress-label {
    font-size: 12px;
    color: #8a8a9a;
    white-space: nowrap;
}

/* Details */
.gss-detail {
    font-size: 12px;
    color: #8a8a9a;
}
.gss-detail strong {
    color: #3a3a52;
    font-weight: 600;
}
.gss-details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Order items */
.gss-order-items {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0eeec;
    font-size: 13px;
    color: #3a3a52;
}
.gss-order-items .gss-item {
    font-weight: 600;
    color: #1a1a2e;
}

/* Schedule table */
.gss-sched {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.gss-sched th {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #8a8a9a;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 1px solid #f0eeec;
}
.gss-sched th.gss-r {
    text-align: right;
}
.gss-sched td {
    padding: 5px 8px;
    font-size: 12px;
    color: #3a3a52;
    border-bottom: 1px solid #f8f6f4;
}
.gss-sched td.gss-r {
    text-align: right;
}
.gss-sched tr.gss-paid td {
    color: #b0b0b0;
}
.gss-sched tr.gss-paid .gss-chk {
    color: #1a9a4a;
}
.gss-sched tr.gss-current {
    background: #faf8f5;
}
.gss-sched tr.gss-current td {
    font-weight: 600;
    color: #1a1a2e;
}
.gss-sched tr.gss-overdue td {
    color: #c0392b;
    font-weight: 600;
}
.gss-sched tr.gss-future td {
    color: #ccc;
}

/* Empty state */
.gss-empty {
    text-align: center;
    padding: 48px 20px;
}
.gss-empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
    opacity: .25;
}
.gss-empty-text {
    font-size: 14px;
    color: #8a8a9a;
}

/* Tab heading */
.gss-tab-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .gss-row-top {
        flex-direction: column;
    }
    .gss-details-row {
        flex-direction: column;
        gap: 8px;
    }
    .gss-progress-track {
        max-width: 100%;
    }
}
