:root {
    --iptv-text-primary: #333;
    --iptv-text-secondary: #52525b;
    --iptv-text-emphasis: #111827;
    --iptv-text-heading: #1f2937;
    --iptv-text-table: #374151;
    --iptv-text-button: #515151;
    --iptv-border-color: hsla(0,0%,7%,.08);
    --iptv-border-table: #e5e7eb;
    --iptv-border-input: #d1d5db;
    --iptv-bg-hover: hsla(0,0%,7%,.04);
    --iptv-bg-table-hover: #f3f4f6;
    --iptv-bg-input: #f9fafb;
    --iptv-primary-color: #2563eb;
    --iptv-primary-hover: #1d4ed8;
    --iptv-button-text: #fff;
    --iptv-focus-ring: rgba(37, 99, 235, 0.2);
    --iptv-success-bg: #d1fae5;
    --iptv-success-text: #065f46;
    --iptv-success-border: #10b981;
    --iptv-error-bg: #fee2e2;
    --iptv-error-text: #b91c1c;
    --iptv-error-border: #f87171;
    --iptv-info-bg: #e0f2fe;
    --iptv-info-text: #0369a1;
    --iptv-info-border: #38bdf8;
}

[data-theme="dark"] {
    --iptv-text-primary: #e5e7eb;
    --iptv-text-secondary: #9ca3af;
    --iptv-text-emphasis: #f9fafb;
    --iptv-text-heading: #f3f4f6;
    --iptv-text-table: #d1d5db;
    --iptv-text-button: #e5e7eb;
    --iptv-border-color: rgba(255, 255, 255, 0.08);
    --iptv-border-table: #4b5563;
    --iptv-border-input: #4b5563;
    --iptv-bg-hover: rgba(255, 255, 255, 0.04);
    --iptv-bg-table-hover: #374151;
    --iptv-bg-input: #1f2937;
    --iptv-primary-color: #3b82f6;
    --iptv-primary-hover: #60a5fa;
    --iptv-button-text: #fff;
    --iptv-focus-ring: rgba(59, 130, 246, 0.2);
    --iptv-success-bg: #064e3b;
    --iptv-success-text: #a7f3d0;
    --iptv-success-border: #059669;
    --iptv-error-bg: #7f1d1d;
    --iptv-error-text: #fecaca;
    --iptv-error-border: #ef4444;
    --iptv-info-bg: #075985;
    --iptv-info-text: #bae6fd;
    --iptv-info-border: #0284c7;
}

.iptv-order-details {
    max-width: 100%;
    margin: 0rem auto;
    background: transparent;
    border-radius: 6px;
    border: solid 1px var(--iptv-border-color);
    padding: 2rem;
}

@media only screen and (max-width: 768px) {
  .iptv-order-details {
        padding: 0.5rem;
    }
}

.iptv-order-details h2 {
    color: var(--iptv-text-heading);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.iptv-order-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.iptv-order-table th,
.iptv-order-table td {
    padding: 5px 10px;
    text-align: left;
    border: none !important;
}

.iptv-order-table th {
    background-color: var(--iptv-bg-input);
    font-weight: 600;
    color: var(--iptv-text-table);
}

.iptv-order-table tr:hover {
    background-color: var(--iptv-bg-table-hover);
}

.iptv-amount-section {
    background: var(--iptv-bg-input);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 0.8rem 0;
    border: 1px solid var(--iptv-border-table);
}

.iptv-amount {
    font-size: 2rem;
    color: var(--iptv-text-emphasis);
    font-weight: bold;
    text-align: center;
    margin: 0.5rem 0;
}

.iptv-notice {
    background: var(--iptv-info-bg);
    border-left: 4px solid var(--iptv-info-border);
    color: var(--iptv-info-text);
    padding: 1rem;
    margin: 1rem 0;
}

.iptv-product-name {
    color: var(--iptv-text-primary);
    font-weight: 500;
}

.iptv-product-meta {
    color: var(--iptv-text-secondary);
    font-size: 0.9rem;
}

.iptv-loading {
    padding: 20px;
}

.iptv-account {
    background: #fff;
    border: solid 1px var(--iptv-border-color);
    border-radius: 6px;
    padding: 5px 10px;
}
.iptv-account span:first-child{
    user-select: none;
    border-right: solid 1px var(--iptv-border-color);
    padding-right: 10px;
}
.iptv-account span:last-child{
    display: inline-block;
    margin-left: 10px;
}