/* ==========================================================
   BUNFILE RESELLER PAGE
   VERSION 1
   ========================================================== */


/* ==========================================================
   PAGE
   ========================================================== */

.reseller-page {
    --reseller-primary: #0d6efd;
    --reseller-primary-dark: #0b5ed7;
    --reseller-success: #047857;
    --reseller-border: #dce5ef;
    --reseller-heading: #111827;
    --reseller-text: #374151;
    --reseller-muted: #6b7280;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 38px 18px 32px;
    color: var(--reseller-text);
    box-sizing: border-box;
}

.reseller-page,
.reseller-page *,
.reseller-page *::before,
.reseller-page *::after {
    box-sizing: border-box;
}


/* ==========================================================
   HEADER
   ========================================================== */

.reseller-page-header {
    margin-bottom: 26px;
    text-align: center;
}

.reseller-page-header h1 {
    margin: 0 0 8px;
    color: var(--reseller-heading);
    font-size: 32px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.reseller-page-header p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--reseller-muted);
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================
   FILTERS
   ========================================================== */

.reseller-page-filters {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.reseller-page-filter {
    appearance: none;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    color: #4b5563;
    font-family: inherit;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid var(--reseller-border);
    border-radius: 8px;
    outline: 0;
    background: #ffffff;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.reseller-page-filter:hover {
    color: var(--reseller-primary);
    border-color: rgba(13, 110, 253, 0.45);
    background: #f8fbff;
}

.reseller-page-filter.active {
    color: #ffffff;
    border-color: var(--reseller-primary);
    background: var(--reseller-primary);
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.17);
}


/* ==========================================================
   GRID
   ========================================================== */

.reseller-page-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* ==========================================================
   CARD
   ========================================================== */

.reseller-page-card {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 250px;
    flex-direction: column;
    padding: 19px;
    border: 1px solid var(--reseller-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(28, 55, 90, 0.045);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.reseller-page-card:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 12px 27px rgba(15, 23, 42, 0.08);
}


/* ==========================================================
   CARD TOP
   ========================================================== */

.reseller-page-card-top {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.reseller-page-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.reseller-page-title {
    min-width: 0;
}


/* ==========================================================
   LOGO
   ========================================================== */

.reseller-page-logo {
    display: flex;
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reseller-page-logo img {
    display: block;
    width: 48px;
    max-width: 48px;
    height: 48px;
    max-height: 48px;
    object-fit: contain;
}

.reseller-page-logo strong {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--reseller-heading);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
}


/* ==========================================================
   NAME
   ========================================================== */

.reseller-page-name {
    margin: 0;
    overflow: hidden;
    color: var(--reseller-heading);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==========================================================
   VERIFIED
   ========================================================== */

.reseller-page-verified {
    display: inline-flex;
    min-height: 25px;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    color: var(--reseller-success);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    border-radius: 999px;
    background: #d1fae5;
}

.reseller-page-verified svg {
    display: block;
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   PAYMENT METHODS TITLE
   ========================================================== */

.reseller-page-method-title {
    margin-bottom: 8px;
    color: var(--reseller-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}


/* ==========================================================
   PAYMENT METHODS
   ========================================================== */

.reseller-page-methods {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 56px;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.reseller-page-method {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    color: #4b5563;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid #e1e7ef;
    border-radius: 6px;
    background: #f8fafc;
}

.reseller-page-method-hidden {
    display: none !important;
}


/* ==========================================================
   MORE METHODS
   ========================================================== */

.reseller-page-more-methods {
    appearance: none;
    align-self: flex-start;
    margin: 0 0 13px;
    padding: 3px 2px;
    color: var(--reseller-primary);
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
}

.reseller-page-more-methods:hover {
    color: var(--reseller-primary-dark);
    text-decoration: underline;
}


/* ==========================================================
   BUY PREMIUM KEY
   ========================================================== */

.reseller-page-buy {
    display: flex;
    width: 100%;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--reseller-primary);
    border-radius: 7px;
    background: var(--reseller-primary);
    box-shadow: 0 7px 16px rgba(13, 110, 253, 0.17);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.reseller-page-buy:hover,
.reseller-page-buy:focus {
    color: #ffffff;
    text-decoration: none;
    border-color: var(--reseller-primary-dark);
    background: var(--reseller-primary-dark);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.23);
    transform: translateY(-1px);
}

.reseller-page-buy svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   EMPTY RESULT
   ========================================================== */

.reseller-page-empty {
    width: 100%;
    margin-top: 18px;
    padding: 20px;
    color: var(--reseller-muted);
    font-size: 13px;
    text-align: center;
    border: 1px dashed var(--reseller-border);
    border-radius: 9px;
    background: #f8fafc;
}


/* ==========================================================
   EXTERNAL WEBSITE NOTICE
   ========================================================== */

.reseller-page-notice {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 13px 15px;
    color: #35669d;
    font-size: 11px;
    line-height: 1.5;
    border: 1px solid #cfe2ff;
    border-radius: 8px;
    background: #f4f9ff;
}

.reseller-page-notice svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--reseller-primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   NO RESELLERS
   ========================================================== */

.reseller-page-no-resellers {
    padding: 45px 20px;
    text-align: center;
    border: 1px solid var(--reseller-border);
    border-radius: 12px;
    background: #ffffff;
}

.reseller-page-no-resellers h2 {
    margin: 0 0 7px;
    color: var(--reseller-heading);
    font-size: 20px;
    font-weight: 800;
}

.reseller-page-no-resellers p {
    margin: 0;
    color: var(--reseller-muted);
    font-size: 13px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {
    .reseller-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {
    .reseller-page {
        padding: 28px 12px;
    }
    .reseller-page-header h1 {
        font-size: 27px;
    }
    .reseller-page-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 575.98px) {
    .reseller-page-header {
        margin-bottom: 21px;
    }
    .reseller-page-header h1 {
        font-size: 25px;
    }
    .reseller-page-header p {
        font-size: 12px;
    }
    .reseller-page-filters {
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 18px;
    }
    .reseller-page-filter {
        min-height: 32px;
        padding: 7px 11px;
        font-size: 10px;
    }
    .reseller-page-card {
        min-height: 0;
        padding: 16px;
    }
    .reseller-page-card-top {
        align-items: flex-start;
    }
    .reseller-page-logo,
    .reseller-page-logo img {
        width: 43px;
        max-width: 43px;
        height: 43px;
        max-height: 43px;
        min-width: 43px;
        flex-basis: 43px;
    }
    .reseller-page-name {
        font-size: 15px;
    }
    .reseller-page-verified {
        min-height: 23px;
        padding: 4px 7px;
        font-size: 8px;
    }
    .reseller-page-methods {
        min-height: 0;
    }
    .reseller-page-notice {
        align-items: flex-start;
    }
}