/* =========================================================
   MEMBER SCHEME SHOWCASE PAGE
   ========================================================= */

.member-scheme-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.member-scheme-header {
    margin-bottom: 28px;
}

.member-scheme-header h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.member-scheme-header p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


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

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


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

.member-scheme-card {
    min-width: 0;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.member-scheme-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.09);
}


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

.member-scheme-card-image {
    position: relative;

    width: 100%;
    height: 285px;

    overflow: hidden;

    background: #f1f5f9;
}

.member-scheme-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


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

.member-scheme-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #94a3b8;
    background: #f8fafc;
}

.member-scheme-no-image i {
    font-size: 48px;
}

.member-scheme-no-image span {
    font-size: 13px;
}


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

.member-scheme-image-badges {
    position: absolute;

    top: 15px;
    left: 15px;
    right: 15px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 10px;
}

.member-scheme-type-badge,
.member-scheme-status-badge {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 11px;

    border-radius: 30px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.member-scheme-type-badge {
    background: rgba(13, 110, 253, 0.92);
}

.member-scheme-status-badge {
    background: rgba(22, 163, 74, 0.92);
}

.member-scheme-status-badge.joined {
    background: rgba(37, 99, 235, 0.94);
}


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

.member-scheme-card-content {
    padding: 22px;
}


/* =========================================================
   TITLE
   ========================================================= */

.member-scheme-title {
    margin: 0;

    color: #111827;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;

    overflow-wrap: anywhere;
}


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

.member-scheme-description {
    margin: 10px 0 20px;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.6;

    overflow-wrap: anywhere;
}


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

.member-scheme-details {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.member-scheme-detail {
    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 13px;

    background: #f8fafc;

    border: 1px solid #eef2f7;
    border-radius: 12px;
}

.member-scheme-detail-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eaf2ff;
    color: #0d6efd;

    font-size: 14px;
}

.member-scheme-detail-text {
    min-width: 0;
}

.member-scheme-detail-label {
    display: block;

    margin-bottom: 3px;

    color: #6b7280;

    font-size: 11px;
}

.member-scheme-detail-value {
    display: block;

    color: #111827;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;

    overflow-wrap: anywhere;
}

.member-scheme-detail-note {
    display: block;

    margin-top: 2px;

    color: #9ca3af;

    font-size: 10px;
}


/* =========================================================
   WHAT YOU WILL GET
   ========================================================= */

.member-scheme-package {
    margin-top: 20px;

    padding-top: 18px;

    border-top: 1px solid #e5e7eb;
}

.member-scheme-package-title {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

    color: #111827;

    font-size: 14px;
    font-weight: 700;
}

.member-scheme-package-title i {
    color: #0d6efd;
}

.member-scheme-package-list {
    list-style: none;

    margin: 0;
    padding: 0;
}

.member-scheme-package-list li {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    margin-bottom: 8px;

    color: #4b5563;

    font-size: 13px;
    line-height: 1.5;
}

.member-scheme-package-list li i {
    flex: 0 0 auto;

    margin-top: 4px;

    color: #16a34a;

    font-size: 12px;
}


/* =========================================================
   ACTION
   ========================================================= */

.member-scheme-action {
    margin-top: 20px;
}

.member-scheme-join-button,
.member-scheme-joined-box {
    width: 100%;
    min-height: 46px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    font-size: 14px;
    font-weight: 700;
}


/* JOIN */

.member-scheme-join-button {
    text-decoration: none;

    color: #ffffff;
    background: #0d6efd;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.member-scheme-join-button:hover {
    color: #ffffff;

    background: #0b5ed7;

    transform: translateY(-1px);
}


/* ALREADY JOINED */

.member-scheme-joined-box {
    justify-content: space-between;

    padding: 0 15px;

    color: #2563eb;

    background: #eff6ff;

    border: 1px solid #dbeafe;
}

.member-scheme-joined-main {
    display: flex;
    align-items: center;

    gap: 8px;
}

.member-scheme-joined-hands {
    color: #64748b;

    font-size: 12px;
    font-weight: 600;
}


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

.member-scheme-empty {
    padding: 60px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.member-scheme-empty-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f5f9;
    color: #94a3b8;

    font-size: 26px;
}

.member-scheme-empty h2 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 20px;
}

.member-scheme-empty p {
    max-width: 500px;

    margin: 0 auto;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.6;
}