/* Admin user profile - reseller price inputs */
.form-table input[type=number] {
    width: 70px;
    text-align: center;
    padding: 3px 5px;
    margin: 2px 0;
}

/* Frontend reseller dashboard */
.reseller-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.reseller-dashboard .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.reseller-dashboard .stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.reseller-dashboard .stat-card:hover { transform: translateY(-5px); }

.reseller-dashboard .stat-card h3 {
    font-size: 14px !important;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.reseller-dashboard .stat-card .value {
    font-size: 36px;
    color: #333;
    font-weight: bold;
}

.reseller-dashboard .stat-card.primary {
    background: #e1306c;
    color: white;
}

.reseller-dashboard .stat-card.primary .value { color: white; }

.reseller-dashboard .section {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.reseller-dashboard .section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.reseller-dashboard .price-table-container {
    overflow-x: auto;
}

.reseller-dashboard .price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.reseller-dashboard .price-table th,
.reseller-dashboard .price-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.reseller-dashboard .price-table th {
    background: #f9f9f9;
    font-weight: 600;
    color: #666;
}

.reseller-dashboard .price-table tr:hover { background: #f9f9f9; }

.reseller-dashboard .price-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.reseller-dashboard .price-current {
    color: #e1306c;
    font-weight: bold;
    font-size: 20px;
}

.reseller-dashboard .price-regular {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.reseller-dashboard .level-progress {
    background: #f3f4f6;
    border-radius: 50px;
    height: 20px;
    overflow: hidden;
    margin: 20px 0;
}

.reseller-dashboard .level-progress-bar {
    background: #e1306c;
    height: 100%;
    border-radius: 50px;
    transition: width 0.5s ease;
}

.reseller-dashboard .level-info {
    text-align: center;
    margin-top: 10px;
    color: #666;
}

.reseller-dashboard .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.reseller-dashboard .status-completed { background: #10b981; color: white; }
.reseller-dashboard .status-processing { background: #f59e0b; color: white; }
.reseller-dashboard .status-cancelled { background: #ef4444; color: white; }

.reseller-dashboard .info-message {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #92400e;
}

@media (max-width: 768px) {
    .reseller-dashboard { padding: 15px; }
    .reseller-dashboard .stats-grid { grid-template-columns: 1fr; }
    .reseller-dashboard .price-table { font-size: 14px; }
}

/* Reseller banner (frontend, wp_head) */
.sticky-header {
    display: none !important;
}

.reseller-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: #fff;
    padding: 12px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.reseller-banner a {
    color: #fff;
    text-decoration: underline;
}

.reseller-banner b {
    color: #ffd700;
}

/* Price wrapper for strikethrough */
.pricing-price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-price-original {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.85em;
    display: none;
}

.pricing-price-original.visible {
    display: inline-block;
}
