/* info.css - User Profile Tab Styles */

.sponsors-tab-wrapper {
    background: color-mix(in srgb, var(--surface-800) 60%, transparent);
    border: 1px solid var(--surface-700);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-on-dark);
    font-family: var(--font-main, 'Inter', sans-serif);
}

.sponsors-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.sh-left h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-on-dark);
    margin: 0 0 4px 0;
}

.sh-left p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.sh-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sponsors-counter {
    background: var(--surface-800);
    border: 1px solid var(--surface-700);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 800;
}

.btn-bulk-save {
    background: var(--brand-red);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-bulk-save:hover {
    background: var(--brand-red-dark);
}

.sponsors-filters {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--surface-700);
    margin-bottom: 20px;
}

.sf-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    padding: 0 0 12px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sf-tab.active {
    color: var(--brand-red);
}

.sf-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-red);
}

.sf-badge {
    background: var(--surface-800);
    color: var(--text-muted);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.sf-tab.active .sf-badge {
    background: var(--brand-red);
    color: var(--text-light);
}

.sponsors-search {
    position: relative;
    margin-bottom: 24px;
}

.sponsors-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.sponsors-search input {
    width: 100%;
    background: var(--surface-800);
    border: 1px solid var(--surface-700);
    border-radius: 8px;
    padding: 12px 16px 12px 42px;
    color: var(--text-on-dark);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: border 0.2s;
}

.sponsors-search input:focus {
    border-color: var(--brand-red);
}

.sponsors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sl-item {
    display: flex;
    align-items: center;
    border: 1px solid var(--surface-700);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.sl-item-logo {
    width: 140px;
    height: 50px;
    background: var(--surface-800);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-right: 1px solid var(--surface-700);
}

.sl-item-logo img {
    max-width: 90px;
    max-height: 28px;
    object-fit: contain;
}

.sl-item-input {
    flex-grow: 1;
    background: var(--surface-900);
}

.sl-item-input input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    padding: 0 16px;
    color: var(--text-on-dark);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.sl-item-input input::placeholder {
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .sponsors-header {
        flex-direction: column;
        gap: 16px;
    }

    .sh-right {
        width: 100%;
        justify-content: space-between;
    }

    .btn-bulk-save {
        flex-grow: 1;
        text-align: center;
    }

    .sl-item {
        flex-direction: column;
        align-items: stretch;
    }

    .sl-item-logo {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--surface-700);
    }
}

/* Davet (Invite) Tab Styles */
.davet-tab-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-main, 'Inter', sans-serif);
}

.davet-stats-row {
    display: flex;
    gap: 12px;
}

.davet-stat-card {
    flex: 1;
    background: color-mix(in srgb, var(--surface-800) 50%, transparent);
    border: 1px solid var(--surface-700);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.davet-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface-900) 80%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-red);
    border: none;
}

.davet-stat-info h4 {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0 0 2px 0;
    font-weight: 600;
}

.davet-stat-info span {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-on-dark);
}

.davet-stat-info span.referral-code {
    color: var(--brand-red);
}

.davet-share-card {
    background: color-mix(in srgb, var(--surface-800) 50%, transparent);
    border: 1px solid var(--surface-700);
    border-radius: 8px;
    padding: 16px;
}

.davet-share-card h3 {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    margin: 0 0 12px 0;
}

.davet-link-box {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.davet-link-input {
    flex: 1;
    height: 36px;
    background: color-mix(in srgb, var(--surface-900) 80%, transparent);
    border: 1px solid var(--surface-700);
    border-radius: 6px;
    padding: 0 12px;
    color: var(--text-on-dark);
    font-size: 12px;
    font-weight: 600;
    outline: none;
}

.davet-btn-copy {
    background: var(--brand-red);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.davet-btn-copy:hover {
    background: var(--brand-red-dark);
}

.davet-social-buttons {
    display: flex;
    gap: 8px;
}

.davet-btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    border-radius: 6px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    transition: filter 0.2s;
    cursor: pointer;
    border: none;
}

.davet-btn-social:hover {
    filter: brightness(1.1);
}

.davet-btn-whatsapp {
    background: #21c45d;
}

.davet-btn-telegram {
    background: #0088cc;
}

.davet-btn-twitter {
    background: var(--surface-700, #191919);
}

.davet-friends-card {
    background: color-mix(in srgb, var(--surface-800) 50%, transparent);
    border: 1px solid var(--surface-700);
    border-radius: 8px;
    padding: 16px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.davet-friends-card h3 {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    margin: 0;
}

.davet-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.davet-empty-state i {
    font-size: 36px;
    color: var(--surface-700);
    margin-bottom: 12px;
}

.davet-empty-state h4 {
    font-size: 13px;
    color: var(--text-on-dark);
    margin: 0 0 4px 0;
    font-weight: 700;
}

.davet-empty-state p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .davet-stats-row {
        flex-direction: column;
    }

    .davet-social-buttons {
        flex-direction: column;
    }
}

.notif-badge-inline {
    background: var(--brand-red);
    color: var(--text-light);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

.notifications-container {
    background: color-mix(in srgb, var(--surface-800) 50%, transparent);
    border: 1px solid var(--surface-700);
    border-radius: 12px;
    padding: 10px;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.notifications-header h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 700;
}

.btn-mark-read {
    background: var(--surface-700);
    border: none;
    color: var(--text-gray);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s, color 0.2s;
}

.btn-mark-read:hover {
    background: var(--surface-600);
    color: var(--text-light);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-card {
    background: var(--surface-800);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--surface-700);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notification-card.unread {
    border-color: rgba(var(--primary), 0.3);
}

.notification-card .notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-700);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-card.unread .notif-icon {
    background: rgba(var(--primary), 0.1);
}

.notif-icon-success {
    color: #22c55e;
    font-size: 20px;
}

.notif-icon-primary {
    color: var(--brand-red);
    font-size: 20px;
}

.notif-content {
    flex: 1;
}

.notif-content-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.notif-title {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.notif-time {
    font-size: 11px;
    color: var(--text-muted);
}

.notif-message {
    margin: 0;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.notif-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
    margin-top: 16px;
    flex-shrink: 0;
}