/* ============================================
   Top Seller - UI Components
   ============================================ */

/* Card */
.card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-flat {
    box-shadow: none;
    border: 1px solid var(--color-border-light);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.card-header-subtitle {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* Card with gradient header */
.card-gradient-header {
    padding: 0;
    overflow: hidden;
}

.card-gradient-header .gradient-top {
    padding: 16px;
    background: linear-gradient(135deg, var(--color-blue-gradient-start), var(--color-blue-gradient-end));
    color: var(--color-white);
}

.card-gradient-header .gradient-top.gold {
    background: linear-gradient(135deg, var(--color-gold-gradient-start), var(--color-gold-gradient-end));
}

.card-gradient-header .gradient-top.dark {
    background: linear-gradient(135deg, var(--color-dark-gradient-start), var(--color-dark-gradient-end));
}

.card-gradient-header .card-body {
    padding: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn:active:not(:disabled) {
    transform: scale(0.96);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:active {
    background: var(--color-primary-dark);
}

.btn-danger {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-danger:active {
    background: var(--color-red-dark);
}

.btn-success {
    background: var(--color-green);
    color: var(--color-white);
}

.btn-success:active {
    background: var(--color-green-dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:active {
    background: rgba(37, 99, 235, 0.08);
}

.btn-gray {
    background: #E0E0E0;
    color: var(--color-text-secondary);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-round {
    border-radius: 9999px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
}

.badge-blue {
    background: rgba(37, 99, 235, 0.12);
    color: var(--color-primary-dark);
}

.badge-red {
    background: rgba(229, 57, 53, 0.12);
    color: var(--color-red);
}

.badge-green {
    background: rgba(76, 175, 80, 0.12);
    color: var(--color-green-dark);
}

.badge-gray {
    background: #EEEEEE;
    color: var(--color-text-secondary);
}

/* Tabs */
.tabs {
    display: flex;
    align-items: center;
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-item {
    flex: 1;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-align: center;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    border: none;
    background: none;
}

.tab-item.active {
    color: var(--color-primary);
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px 2px 0 0;
}

/* Sub Tabs (smaller) */
.sub-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    overflow-x: auto;
}

.sub-tab-item {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    background: none;
}

.sub-tab-item.active {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.1);
}

/* List Item */
.list-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: background 0.15s, transform 0.2s ease;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:active {
    background: var(--color-border);
    transform: scale(0.98);
}

.list-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-right: 12px;
    flex-shrink: 0;
}

.list-item-icon .material-icons-round {
    font-size: 22px;
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.list-item-subtitle {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.list-item-action {
    margin-left: 8px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.list-item-action .material-icons-round {
    font-size: 18px;
}

/* Balance Card */
.balance-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.balance-card-header {
    background: linear-gradient(135deg, var(--color-blue-gradient-start), var(--color-blue-gradient-end));
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.balance-card-header-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.balance-card-header-amount {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
}

.balance-card-body {
    display: flex;
    padding: 16px 0;
}

.balance-card-stat {
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--color-border);
    padding: 0 8px;
}

.balance-card-stat:last-child {
    border-right: none;
}

.balance-card-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.balance-card-stat-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-top: 2px;
}

/* Stat Grid */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-grid-item {
    background: var(--color-card-bg);
    padding: 14px 12px;
    text-align: center;
}

.stat-grid-item-label {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.stat-grid-item-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 4px;
}

.stat-grid-item-value.red {
    color: var(--color-red);
}

/* Task Card */
.task-card {
    display: flex;
    align-items: center;
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.task-card-icon .material-icons-round {
    font-size: 28px;
    color: var(--color-white);
}

.task-card-content {
    flex: 1;
    min-width: 0;
}

.task-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.task-card-desc {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.task-card-action {
    margin-left: 10px;
    flex-shrink: 0;
}

/* Quota Card */
.quota-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quota-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.quota-card-range {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

.quota-card-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-green);
}

.quota-card-btn {
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
}

.quota-card-info {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.quota-card-info-item {
    text-align: left;
}

.quota-card-info-item.right {
    text-align: right;
}

.quota-card-info-label {
    font-size: 11px;
    color: var(--color-text-secondary);
}

.quota-card-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.quota-card-info-value.green {
    color: var(--color-green);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.empty-state-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* Step Wizard */
.step-wizard {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 8px;
    position: relative;
}

.step-wizard::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-text-muted);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item.active .step-number,
.step-item.completed .step-number {
    background: var(--color-primary);
}

.step-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-top: 6px;
    text-align: center;
}

.step-item.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

/* Avatar */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-sm {
    width: 36px;
    height: 36px;
    font-size: 14px;
}

.avatar-lg {
    width: 64px;
    height: 64px;
    font-size: 26px;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--color-border);
    margin: 12px 0;
}

.divider-dashed {
    border-top: 1px dashed var(--color-border);
    background: none;
    height: 0;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-overlay.center {
    align-items: center;
    padding: 20px;
}

.modal-sheet {
    background: var(--color-card-bg);
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 20px;
    animation: slideUp 0.3s ease-out;
    max-height: 85vh;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
}

.modal-dialog {
    background: var(--color-card-bg);
    width: 100%;
    max-width: 340px;
    border-radius: var(--radius-lg);
    padding: 24px;
    animation: scaleIn 0.2s ease-out;
    border: 1px solid var(--color-border);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    border-radius: 50%;
}

.modal-close:active {
    background: var(--color-bg);
}

/* Chip */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid var(--color-border);
    background: var(--color-card-bg);
    color: var(--color-text);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.chip.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.progress-bar-fill.success {
    background: var(--color-green);
}

.progress-bar-fill.danger {
    background: var(--color-red);
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 2px;
    color: #FFB400;
}

.rating-stars .material-icons-round {
    font-size: 18px;
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, var(--color-blue-gradient-start), var(--color-blue-gradient-end));
    color: var(--color-white);
    padding: 24px 16px 16px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    position: relative;
}

.profile-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-header-info {
    flex: 1;
    min-width: 0;
}

.profile-header-phone {
    font-size: 16px;
    font-weight: 600;
}

.profile-header-id {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 2px;
}

.profile-header-copy {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--color-white);
}

.profile-header-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.profile-header-balance-label {
    font-size: 13px;
    opacity: 0.85;
}

.profile-header-balance-amount {
    font-size: 24px;
    font-weight: 700;
}

.profile-header-add-btn {
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.profile-header-stats {
    display: flex;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-header-stat {
    flex: 1;
    text-align: center;
}

.profile-header-stat-value {
    font-size: 16px;
    font-weight: 700;
}

.profile-header-stat-label {
    font-size: 11px;
    opacity: 0.75;
    margin-top: 2px;
}

/* Menu Item */
.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: background 0.15s, transform 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: var(--color-border);
    transform: scale(0.98);
}

.menu-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-right: 12px;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.08);
}

.menu-item-icon .material-icons-round {
    font-size: 20px;
}

.menu-item-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.menu-item-arrow {
    color: var(--color-text-muted);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    overflow-x: auto;
}

.filter-bar select,
.filter-bar .input {
    font-size: 13px;
    padding: 8px 10px;
    min-width: 0;
}

.filter-bar .input {
    width: 70px;
    text-align: center;
}

.filter-bar .btn {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
}

/* Notice Bar */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.notice-bar-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.notice-bar-text {
    font-size: 13px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Banner */
.banner {
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-dark {
    background: linear-gradient(135deg, #3A3A4A, #2A2A3A);
    color: var(--color-white);
}

.banner-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 6px;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    width: fit-content;
}

.banner-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

/* Promo Banner (orange) */
.promo-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FF8A50, #FF7043);
    border-radius: var(--radius-md);
    color: var(--color-white);
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
}

.promo-banner .material-icons-round {
    font-size: 20px;
}

/* My Team Banner */
.team-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #4A4A5A, #2C2C3C);
    border-radius: var(--radius-md);
    margin: 12px 16px;
    color: var(--color-white);
}

.team-banner-title {
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
}

.team-banner-subtitle {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
}

.team-banner-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px 0;
}

.social-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
}

.social-share-btn.facebook {
    background: #1877F2;
}

.social-share-btn.telegram {
    background: #29A9EB;
}

.social-share-btn.whatsapp {
    background: #25D366;
}

.social-share-btn.share {
    background: var(--color-primary);
}

/* QR Code Area */
.qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.qr-code-box {
    width: 160px;
    height: 160px;
    background: #FFFFFF;
    border: 4px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.qr-code-box img,
.qr-code-box svg {
    width: 100%;
    height: 100%;
}

/* Referral Link */
.referral-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    margin-top: 12px;
}

.referral-link-text {
    flex: 1;
    font-size: 13px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.referral-link-copy {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Chat Styles */
.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height) - var(--nav-height) - 60px);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.chat-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-bottom-right-radius: 4px;
}

.chat-bubble.received {
    align-self: flex-start;
    background: #1f2937;
    color: var(--color-text);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.chat-bubble-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
    text-align: right;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--color-card-bg);
    border-top: 1px solid var(--color-border);
}

.chat-input-bar .input {
    flex: 1;
    border-radius: 9999px;
    padding: 10px 14px;
}

.chat-input-bar .btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    border-radius: 50%;
}

.chat-input-bar .btn-send {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.upload-area:hover {
    border-color: var(--color-primary);
}

.upload-area .material-icons-round {
    font-size: 36px;
    color: var(--color-text-muted);
}

.upload-area-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 8px;
}

.upload-preview {
    width: 100%;
    max-width: 200px;
    border-radius: var(--radius-md);
    margin-top: 12px;
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.pending {
    background: #FF9800;
}

.status-dot.paid {
    background: #2196F3;
}

.status-dot.completed {
    background: var(--color-green);
}

.status-dot.cancelled {
    background: var(--color-red);
}

.status-dot.disputed {
    background: #9C27B0;
}

/* Timer Countdown */
.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--color-red);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.countdown-timer .material-icons-round {
    font-size: 16px;
}

/* Radio List Item */
.radio-list-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: var(--color-card-bg);
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: background 0.15s, transform 0.2s ease;
}

.radio-list-item:last-child {
    border-bottom: none;
}

.radio-list-item:active {
    background: var(--color-border);
    transform: scale(0.98);
}

.radio-list-item:last-child {
    border-bottom: none;
}

.radio-list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    flex-shrink: 0;
}

.radio-list-item-content {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.radio-list-item-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.radio-list-item.selected .radio-list-item-check {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.radio-list-item.selected .radio-list-item-check::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
}

/* Warning Notice */
.warning-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(229, 57, 53, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.warning-notice-icon {
    color: var(--color-red);
    flex-shrink: 0;
    margin-top: 1px;
}

.warning-notice-text {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.5;
}

/* Info row for trade details */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row-label {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.info-row-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

/* Trade status steps */
.trade-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 8px;
}

.trade-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
}

.trade-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.trade-step.completed:not(:last-child)::after {
    background: var(--color-green);
}

.trade-step-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.trade-step.completed .trade-step-icon {
    background: var(--color-green);
    color: var(--color-white);
}

.trade-step.active .trade-step-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.trade-step-icon .material-icons-round {
    font-size: 14px;
}

.trade-step-label {
    font-size: 10px;
    color: var(--color-text-secondary);
    text-align: center;
}

.trade-step.completed .trade-step-label,
.trade-step.active .trade-step-label {
    color: var(--color-text);
    font-weight: 500;
}