/* ========================================
   PROFILE PAGE - CSS (Full-Width Dashboard)
   Type2 Mars - Purple Theme
   ======================================== */

/* Page Header */
.page-header {
    padding: 100px 0 30px;
    text-align: center;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #d8b4fe;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Profile Content */
.profile-content {
    padding: 0 0 80px;
}

/* ========================================
   FULL-WIDTH DASHBOARD LAYOUT
   ======================================== */

.profile-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   PROFILE HERO SECTION
   ======================================== */

.profile-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    background: linear-gradient(180deg, rgba(25, 15, 50, 0.8) 0%, rgba(15, 10, 31, 0.9) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 25px 30px;
}

/* Avatar Section */
.profile-avatar {
    position: relative;
    width: 100px;
    height: 100px;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.avatar-circle svg {
    width: 50px;
    height: 50px;
    color: #0f0a1f;
}

.avatar-level {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

/* Info Grid Section */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item .label {
    font-size: 0.75rem;
    color: #a78bfa;
}

.info-item .value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

/* Balance Section */
.profile-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding-left: 30px;
    border-left: 1px solid rgba(168, 85, 247, 0.2);
}

.balance-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.balance-item .label {
    font-size: 0.75rem;
    color: #a78bfa;
}

.balance-item .value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.balance-item .value.main {
    font-size: 1.4rem;
    color: #c084fc;
}

.point-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.point-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.btn-point-convert {
    padding: 5px 12px;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    border: none;
    border-radius: 6px;
    color: #0f0a1f;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-point-convert:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(168, 85, 247, 0.3);
}

/* ========================================
   QUICK ACTIONS SECTION
   ======================================== */

.profile-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-3px);
}

.action-btn svg {
    width: 28px;
    height: 28px;
    color: #c084fc;
}

.action-btn span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   HISTORY CARD - Segment Control Tabs
   ======================================== */

.history-card {
    background: linear-gradient(180deg, rgba(25, 15, 50, 0.8) 0%, rgba(15, 10, 31, 0.9) 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Segment Control Style Tabs */
.history-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 4px;
    width: 100%;
    max-width: 400px;
}

.history-tab {
    flex: 1;
    padding: 10px 15px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #a78bfa;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.history-tab:hover {
    color: #ffffff;
}

.history-tab.active {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    color: #0f0a1f;
    font-weight: 600;
}

/* History Content */
.history-content {
    display: none;
}

.history-content.active {
    display: block;
}

.history-content .history-filter {
    margin-bottom: 15px;
}

/* History Filter */
.history-filter {
    display: flex;
    gap: 8px;
}

.history-filter .filter-btn {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 6px;
    color: #a78bfa;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-filter .filter-btn:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.history-filter .filter-btn.active {
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    border-color: transparent;
    color: #0f0a1f;
    font-weight: 600;
}

/* History Pagination */
.history-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.history-pagination .page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 6px;
    color: #a78bfa;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-pagination .page-btn:hover:not(:disabled) {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: #ffffff;
}

.history-pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.history-pagination .page-info {
    font-size: 0.85rem;
    color: #a78bfa;
}

/* ========================================
   BETTING TABLE
   ======================================== */

.betting-table-wrap {
    overflow-x: auto;
    margin-bottom: 15px;
}

.betting-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.betting-table thead {
    background: rgba(168, 85, 247, 0.1);
}

.betting-table th {
    padding: 12px 10px;
    text-align: left;
    color: #a78bfa;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.betting-table td {
    padding: 12px 10px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.betting-table tbody tr:hover {
    background: rgba(168, 85, 247, 0.05);
}

/* Game Badge */
.game-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.game-badge.casino {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.game-badge.slot {
    background: rgba(108, 92, 231, 0.2);
    color: #a29bfe;
}

/* Result Badge */
.result {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.result.win {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.result.lose {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

/* Profit */
.profit {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
}

.profit.plus {
    color: #c084fc;
}

.profit.minus {
    color: #ff6b6b;
}

/* Bonus Text */
.bonus {
    color: #c084fc;
    font-weight: 600;
}

/* Status Badge */
.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status.completed {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status.rejected {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

/* Betting Pagination */
.betting-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.betting-pagination .page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 6px;
    color: #a78bfa;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.betting-pagination .page-btn:hover:not(:disabled) {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: #ffffff;
}

.betting-pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.betting-pagination .page-info {
    font-size: 0.85rem;
    color: #a78bfa;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .profile-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .profile-avatar {
        margin: 0 auto;
    }

    .profile-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 15px;
    }

    .info-item {
        text-align: left;
    }

    .profile-balance {
        align-items: center;
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid rgba(168, 85, 247, 0.2);
    }

    .balance-item {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 85px 0 15px;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }

    .profile-content {
        padding: 0 0 120px;
    }

    .profile-layout {
        gap: 15px;
    }

    .profile-hero {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .avatar-circle {
        width: 80px;
        height: 80px;
    }

    .avatar-circle svg {
        width: 40px;
        height: 40px;
    }

    .avatar-level {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }

    .info-item .label {
        font-size: 0.7rem;
    }

    .info-item .value {
        font-size: 0.8rem;
    }

    .balance-item .value.main {
        font-size: 1.2rem;
    }

    /* Quick Actions - 2x2 Grid on Mobile */
    .profile-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .action-btn {
        padding: 15px 10px;
        border-radius: 10px;
    }

    .action-btn svg {
        width: 24px;
        height: 24px;
    }

    .action-btn span {
        font-size: 0.8rem;
    }

    /* History Card Mobile */
    .history-card {
        padding: 15px 12px;
        border-radius: 12px;
    }

    .card-header {
        margin-bottom: 15px;
    }

    .history-tabs {
        max-width: 100%;
        padding: 3px;
    }

    .history-tab {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .history-filter {
        gap: 4px;
    }

    .history-filter .filter-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
        border-radius: 4px;
    }

    .history-pagination {
        gap: 10px;
    }

    .history-pagination .page-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .history-pagination .page-info {
        font-size: 0.75rem;
    }

    /* Betting Table Mobile */
    .betting-table-wrap {
        margin: 0 -12px;
        padding: 0 12px;
        margin-bottom: 12px;
    }

    .betting-table {
        font-size: 0.7rem;
    }

    .betting-table th {
        padding: 8px 6px;
        font-size: 0.65rem;
    }

    .betting-table td {
        padding: 8px 6px;
    }

    .game-badge {
        padding: 2px 5px;
        font-size: 0.6rem;
        border-radius: 3px;
    }

    .result {
        padding: 2px 5px;
        font-size: 0.6rem;
        border-radius: 3px;
    }

    .profit {
        font-size: 0.65rem;
    }

    .betting-pagination {
        gap: 10px;
    }

    .betting-pagination .page-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .betting-pagination .page-info {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 10px;
    }

    .page-title {
        font-size: 1.3rem;
    }

    .page-subtitle {
        font-size: 0.8rem;
    }

    .profile-hero {
        padding: 15px 12px;
    }

    .profile-avatar {
        width: 70px;
        height: 70px;
    }

    .avatar-circle {
        width: 70px;
        height: 70px;
    }

    .avatar-circle svg {
        width: 35px;
        height: 35px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .balance-item .value.main {
        font-size: 1.1rem;
    }

    .point-row {
        gap: 8px;
    }

    .btn-point-convert {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .action-btn {
        padding: 12px 8px;
    }

    .action-btn svg {
        width: 22px;
        height: 22px;
    }

    .action-btn span {
        font-size: 0.75rem;
    }

    .history-card {
        padding: 12px 10px;
    }

    .history-tabs {
        padding: 2px;
    }

    .history-tab {
        padding: 7px 8px;
        font-size: 0.7rem;
    }

    .history-filter {
        width: 100%;
        justify-content: flex-start;
    }

    .history-filter .filter-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .betting-table {
        font-size: 0.65rem;
    }

    .betting-table th,
    .betting-table td {
        padding: 6px 4px;
    }

    .game-badge,
    .result {
        padding: 2px 4px;
        font-size: 0.55rem;
    }

    .profit {
        font-size: 0.6rem;
    }
}

/* ========================================
   POINT CONVERT MODAL
   ======================================== */

.point-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.point-modal.active {
    display: flex;
}

.point-modal-content {
    background: linear-gradient(180deg, rgba(25, 15, 50, 0.98) 0%, rgba(15, 10, 31, 0.99) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 25px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.point-modal-content .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.point-modal-content .modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
}

.point-modal-content .modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

/* Current Point Box */
.current-point-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 10px;
    margin-bottom: 20px;
}

.current-point-box .label {
    font-size: 0.9rem;
    color: #a78bfa;
}

.current-point-box .value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #c084fc;
}

/* Convert Form */
.convert-form {
    margin-bottom: 15px;
}

.convert-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.point-input-wrap {
    position: relative;
    margin-bottom: 10px;
}

.point-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.point-input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.point-input::placeholder {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #a78bfa;
}

.point-input-wrap .unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a78bfa;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Point Buttons */
.point-btns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.point-btn {
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.point-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

.point-btn.clear {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.point-btn.clear:hover {
    background: rgba(255, 107, 107, 0.25);
    border-color: rgba(255, 107, 107, 0.5);
}

.convert-info {
    font-size: 0.75rem;
    color: #a78bfa;
    text-align: center;
}

/* Convert Result */
.convert-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
}

.convert-result .label {
    font-size: 0.9rem;
    color: #a78bfa;
}

.convert-result .value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #c084fc;
}

/* Submit Button */
.btn-convert-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-convert-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.5);
}

/* Convert History */
.convert-history {
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    padding-top: 15px;
}

.convert-history h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.convert-history-table-wrap {
    overflow-x: auto;
}

.convert-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.convert-history-table th {
    padding: 10px 8px;
    text-align: left;
    color: #a78bfa;
    font-weight: 500;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    white-space: nowrap;
}

.convert-history-table td {
    padding: 10px 8px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.convert-history-table .status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.convert-history-table .status.completed {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.convert-history-table .status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

@media (max-width: 480px) {
    .point-modal-content {
        padding: 20px 15px;
    }

    .point-btns {
        grid-template-columns: repeat(2, 1fr);
    }

    .current-point-box .value {
        font-size: 1.1rem;
    }
}

/* ========================================
   FAVORITE PROVIDERS SECTION
   ======================================== */

.favorite-providers-section {
    background: linear-gradient(180deg, rgba(25, 15, 50, 0.8) 0%, rgba(15, 10, 31, 0.9) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.favorite-providers-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.favorite-providers-section .section-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
}

.favorite-count {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.favorite-providers-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */
.favorite-providers-grid::-webkit-scrollbar {
    height: 6px;
}

.favorite-providers-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.favorite-providers-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.4);
    border-radius: 3px;
}

.favorite-providers-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.6);
}

.favorite-provider-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-width: 140px;
    flex-shrink: 0;
}

.favorite-provider-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-3px);
}

.favorite-provider-card .provider-logo {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.favorite-provider-card .provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.favorite-provider-card .provider-name {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.favorite-provider-card .provider-type {
    color: #a78bfa;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.favorite-provider-card .provider-type.casino {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.15);
}

.favorite-provider-card .provider-type.slot {
    color: #a29bfe;
    background: rgba(162, 155, 254, 0.15);
}

.favorite-provider-card .btn-remove-favorite {
    padding: 5px 12px;
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 5px;
    color: #ff6b6b;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-provider-card .btn-remove-favorite:hover {
    background: rgba(255, 107, 107, 0.4);
}

.no-favorites {
    width: 100%;
    text-align: center;
    padding: 30px;
    color: #a78bfa;
    flex-shrink: 0;
}

.no-favorites p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.no-favorites p:last-child {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
    .favorite-providers-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .favorite-providers-section .section-header h3 {
        font-size: 0.95rem;
    }

    .favorite-providers-grid {
        gap: 10px;
    }

    .favorite-provider-card {
        padding: 12px;
        min-width: 120px;
    }

    .favorite-provider-card .provider-logo {
        width: 60px;
        height: 40px;
        margin-bottom: 8px;
    }

    .favorite-provider-card .provider-name {
        font-size: 0.7rem;
    }

    .favorite-provider-card .provider-type {
        font-size: 0.6rem;
        padding: 2px 6px;
        margin-bottom: 8px;
    }

    .favorite-provider-card .btn-remove-favorite {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .no-favorites {
        padding: 20px;
        min-width: 100%;
    }

    .no-favorites p {
        font-size: 0.8rem;
    }
}
