/* Clients & Anunciantes Module Specific Styles */

.sortable-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.sortable-link:hover {
    color: var(--primary) !important;
}

/* Tab visibility */
.tab-content {
    display: none;
    animation: fadeInUp 0.4s ease backwards;
}

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

/* Upload Customization for Clients */
.client-upload-container {
    max-width: 300px;
    margin: 0 auto 30px;
}

#preview-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* PROFILE LAYOUT PREMIUM */
.profile-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.profile-cover {
    height: 120px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    border-bottom: 1px solid var(--border);
}

.profile-avatar-wrapper {
    margin-top: -50px;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.profile-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: var(--bg-surface);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 12px;
    background: rgba(var(--primary-rgb), 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-rgb), 0.25);
    background: rgba(var(--primary-rgb), 0.05);
}

.stat-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrapper i {
    width: 18px;
    height: 18px;
}

.stat-icon-wrapper.ads {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.stat-icon-wrapper.status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.stat-icon-wrapper.status.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.stat-val {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-val.status-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* INFO GRID & ITEMS */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(var(--primary-rgb), 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    background: rgba(var(--primary-rgb), 0.04);
}

.info-item .label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-item .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.info-item.col-span-2 {
    grid-column: span 2;
}

/* WALLET PREMIUM STYLES */
.wallet-balance-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.02) 100%) !important;
    border: 1px solid rgba(var(--primary-rgb), 0.2) !important;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wallet-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
}

.wallet-balance-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin: 0;
}

.wallet-rules-container {
    background: rgba(var(--primary-rgb), 0.02);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-top: 24px;
}

.wallet-rules-list {
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-muted);
    list-style-type: disc;
    padding-left: 20px;
}

/* ADS THUMB AND LAYOUT */
.ad-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.tab-profile-content {
    display: none;
}

.tab-profile-content.active {
    display: block;
    animation: fadeInUp 0.4s ease backwards;
}

@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .info-item.col-span-2 {
        grid-column: span 1;
    }
}
