﻿
/* ====== GRID LAYOUT ====== */
.grid {
    display: grid;
    gap: 20px;
}

.cols-3 {
    grid-template-columns: 320px 1fr 340px;
}

.Profile.cols-2 {
    grid-template-columns: 320px 1fr 0;
    gap: 0px;
}

.card1 {
    margin-left: 0 !important;
}

.card2 {
    margin-right: 0 !important;
}
/* ====== PROFILE CARD ====== */
.Profile .card {
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* ====== PROFILE HEADER ====== */
.Profile header.profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.Profile .avatar {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

    .Profile .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.Profile h1 {
    margin: 0;
    font-size: 20px;
}

.Profile .sub {
    color: var(--muted);
    font-size: 13px;
}

/* ====== POINTS SECTION ====== */
.Profile .points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

    .Profile .points .balance {
        font-size: 48px;
        font-weight: 700;
        color: var(--secondary-dark);
    }

    .Profile .points small {
        color: var(--muted);
    }

/* ====== ACTION BUTTONS ====== */
.Profile .actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.Profile .btn {
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--secondary-dark);
    color: #fff;
    border: none;
    cursor: pointer;
}

    .Profile .btn.ghost {
        background: transparent;
        color: var(--secondary-dark);
        border: 1px solid rgba(14, 165, 164, 0.12);
    }

/* ====== USAGE LIST ====== */
.Profile .usage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Profile .usage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(14, 165, 164, 0.03), transparent);
}

.Profile .usage-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.Profile .dot {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    font-weight: 600;
}

.Profile .muted {
    color: var(--muted);
    font-size: 13px;
}

/* ====== VOUCHERS SECTION ====== */
.Profile .vouchers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.Profile .voucher {
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #fff, #fbfeff);
}

    .Profile .voucher h3 {
        margin: 0;
        font-size: 15px;
    }

    .Profile .voucher .meta {
        margin-top: 6px;
        color: var(--muted);
        font-size: 13px;
    }

    .Profile .voucher .cta {
        margin-top: 10px;
        display: flex;
        gap: 8px;
    }

/* ====== FILTERS & SEARCH ====== */
.Profile .filters {
    display: flex;
    gap: 8px;
    align-items: center;
}

.Profile .search {
    flex: 1;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
    .Profile.cols-2 {
        grid-template-columns: 100%;
    }

    .card1, .card2 {
        margin: 0 !important;
        margin-bottom: 1rem !important;
    }
}
