/* Bootstrap CSS Variable Overrides - MUST BE FIRST */
:root {
    --bs-primary: #667eea !important;
    --bs-primary-rgb: 102, 126, 234 !important;
    --bs-btn-color: #667eea !important;
    --bs-btn-border-color: #667eea !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #667eea !important;
    --bs-btn-hover-border-color: #667eea !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #5568d3 !important;
    --bs-btn-active-border-color: #5568d3 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Quill Editor Custom Styles for Better Readability */
.ql-editor {
    font-size: 16px;
    line-height: 1.8;
    min-height: 300px;
    padding: 20px !important;
}

.ql-editor p {
    margin-bottom: 1.2em !important;
    line-height: 1.8;
}

.ql-editor p:last-child {
    margin-bottom: 0 !important;
}

.ql-editor h1 {
    margin-top: 1.5em !important;
    margin-bottom: 0.75em !important;
    line-height: 1.3;
}

.ql-editor h2 {
    margin-top: 1.4em !important;
    margin-bottom: 0.7em !important;
    line-height: 1.3;
}

.ql-editor h3, 
.ql-editor h4, 
.ql-editor h5, 
.ql-editor h6 {
    margin-top: 1.3em !important;
    margin-bottom: 0.6em !important;
    line-height: 1.4;
}

.ql-editor ul, 
.ql-editor ol {
    margin-bottom: 1.2em !important;
    padding-left: 1.5em !important;
}

.ql-editor li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.ql-editor blockquote {
    margin: 1.5em 0 !important;
    padding-left: 1em !important;
    border-left: 4px solid #dee2e6 !important;
}

.ql-editor pre {
    margin: 1.2em 0 !important;
    padding: 1em !important;
    background: #f8f9fa !important;
    border-radius: 4px;
}

.ql-editor table {
    margin: 1.5em 0 !important;
}

/* Add visual separator between paragraphs in edit mode */
.ql-editor p:empty:before {
    content: '\200B'; /* Zero-width space to maintain paragraph height */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

/* Gradient Navbar */
.navbar.navbar-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.3);
}

.navbar.navbar-gradient .nav-link {
    font-weight: 600;
    font-size: 16px;
}

.navbar.navbar-gradient .navbar-text {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Login Form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h1 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* Main App Styles */
.app {
    display: none;
    background: white;
    min-height: 100vh;
}

.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 24px;
    font-weight: 600;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-user span {
    font-size: 16px;
}

/* Navigation */
.app-nav {
    background: #f8f9fa;
    padding: 0;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.nav-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Content Area */
.app-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: #2d3748;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Form Styles */
.form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.form-section h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Button Styles */
.btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Button color styles moved to gradient section below (lines 1022+) */

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

/* List and Table Styles */
.list-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.list-section h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Project Cards */
.project-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    position: relative;
}

.project-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

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

.project-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.project-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.project-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 14px;
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal.active,
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 25px 30px 30px;
    overflow-y: auto;
    flex: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.page-info {
    font-size: 14px;
    color: #6b7280;
    margin: 0 15px;
    font-weight: 500;
}

.pagination-select {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* Bootstrap Modal Fix - ensure modal content is above backdrop */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.modal-dialog {
    z-index: 1060 !important;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 2000;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.warning {
    background: #f59e0b;
}

.notification.info {
    background: #667eea;
}

/* Notification dropdown - disable Bootstrap hover effects for text selection */
.notification-dropdown .notification-item .dropdown-item:hover,
.notification-dropdown .notification-item .dropdown-item:focus,
.notification-dropdown .notification-item .dropdown-item:active {
    background-color: inherit !important;
    color: inherit !important;
}

.notification-dropdown .notification-item .dropdown-item.bg-light:hover,
.notification-dropdown .notification-item .dropdown-item.bg-light:focus,
.notification-dropdown .notification-item .dropdown-item.bg-light:active {
    background-color: #f8f9fa !important;
}

/* Keep text colors for notification content */
.notification-dropdown .notification-item .dropdown-item .text-muted {
    color: #6c757d !important;
}

.notification-dropdown .notification-item .dropdown-item .fw-semibold {
    color: #212529 !important;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .app-content {
        padding: 20px 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-section,
    .list-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .data-table {
        font-size: 14px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .project-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .app-nav {
        flex-wrap: wrap;
    }
    
    .nav-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
}

/* Batch Mode Styles */
.btn-small {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-small:hover {
    background: #5568d3;
}

.site-checkbox-label {
    transition: background-color 0.2s ease;
}

.site-checkbox-label:hover {
    background-color: #e5e7eb !important;
}

/* Batch Progress Styles */
.spinner {
    border: 2px solid #e5e7eb;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

#batchProgress {
    background: #f0f9ff;
    border: 1px solid #667eea;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}

#batchProgressBar {
    width: 100%;
    background: #e5e7eb;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

#batchProgressFill {
    height: 100%;
    background: #667eea;
    width: 0%;
    transition: width 0.3s ease;
}

#batchStatus {
    font-size: 14px;
    color: #374151;
    margin-top: 5px;
}

/* Queue Styles */
.queue-stats {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 15px;
}

.queue-stat {
    text-align: center;
}

.queue-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.queue-stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
}

/* Enhanced Stat Cards - Compact Version */
.stat-card {
    border-radius: 12px;
    padding: 12px 16px;
    background: white;
    color: #1f2937;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: none;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 2px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-card p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-card i {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 2px;
    display: block;
}

/* Улучшение 3: Enhanced Cards with Hover Effects */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 18px;
    margin-bottom: 16px;
}

.card-body {
    padding: 24px;
}

/* Project/Site Cards */
.project-card,
.site-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.project-card:hover,
.site-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

/* Status Badges Enhanced */
.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning,
.badge.bg-info,
.badge.bg-primary,
.badge.bg-secondary {
    background: transparent !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
}

/* Улучшение 4: Enhanced Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #374151;
    margin-bottom: 16px;
}

h5.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

p {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Button gradient styles */
.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #643a8c 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #5568d3 0%, #643a8c 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border: none;
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

/* Outline button variants with gradient on hover */
.btn-outline-primary {
    color: #667eea !important;
    border-color: #667eea !important;
    border-width: 2px !important;
    font-weight: 500 !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    color: white !important;
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: transparent;
    color: white;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: transparent;
    color: white;
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    border-color: transparent;
    color: white;
}

/* Complete btn-outline-primary state overrides to fix blue button issue */
.btn-outline-primary:focus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.5);
}

.btn-outline-primary:active,
.btn-outline-primary.active {
    background: linear-gradient(135deg, #5568d3 0%, #643a8c 100%) !important;
    border-color: #5568d3 !important;
    color: white !important;
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: #667eea;
    border-color: #667eea;
    opacity: 0.65;
}

/* Form inputs focus */
.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* #12: Skeleton Loaders */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #e0e0e0 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    display: inline-block;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text-lg {
    height: 24px;
    margin-bottom: 12px;
    border-radius: 6px;
}

.skeleton-title {
    height: 32px;
    margin-bottom: 16px;
    border-radius: 6px;
    width: 60%;
}

.skeleton-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.skeleton-stat-card {
    border-radius: 12px;
    padding: 18px 20px;
    height: 120px;
}

.skeleton-table-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.skeleton-table-cell {
    height: 20px;
    flex: 1;
}

/* Skeleton variants */
.skeleton-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.skeleton-avatar {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.skeleton-button {
    height: 38px;
    width: 120px;
    border-radius: 6px;
}

.skeleton-badge {
    height: 24px;
    width: 60px;
    border-radius: 8px;
    display: inline-block;
}

/* #7: Breadcrumbs Navigation */
.breadcrumb {
    background: transparent;
    padding: 12px 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #6b7280;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: #9ca3af;
    font-size: 18px;
    font-weight: 300;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #1f2937;
    font-weight: 500;
}

/* #8: Sortable Tables */
.table th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 30px;
}

.table th.sortable:hover {
    background-color: #f3f4f6;
}

.table th.sortable::after {
    content: '⇅';
    position: absolute;
    right: 10px;
    color: #9ca3af;
    font-size: 12px;
}

.table th.sortable.sort-asc::after {
    content: '▲';
    color: #667eea;
}

.table th.sortable.sort-desc::after {
    content: '▼';
    color: #667eea;
}

/* #10: Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state-icon {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.empty-state-description {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.empty-state-cta {
    margin-top: 20px;
}

.empty-state-cta .btn {
    padding: 10px 24px;
    font-weight: 500;
}

/* Bootstrap Pagination Styles with Gradient */
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    color: white !important;
}

.pagination .page-item .page-link {
    color: #667eea !important;
    border-color: #dee2e6;
    transition: all 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background: linear-gradient(135deg, #5568d3 0%, #643a8c 100%) !important;
    border-color: #667eea !important;
    color: white !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
}

/* Purple badge and text utilities */
.bg-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.text-purple {
    color: #667eea !important;
}

/* ========================================
   BALANCE PAGE STYLES
   ======================================== */

/* Balance stat cards with gradient backgrounds */
.balance-stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 180px;
    transition: all 0.3s ease;
}

.balance-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Blue gradient card (Current Balance) - from-blue-500 via-blue-600 to-indigo-600 */
.balance-stat-card.card-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #4f46e5 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.35);
}

/* Decorative circles */
.balance-stat-card .card-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.balance-stat-card .card-circle-lg {
    width: 8rem;
    height: 8rem;
    top: -2rem;
    right: -2rem;
}

.balance-stat-card .card-circle-sm {
    width: 6rem;
    height: 6rem;
    bottom: -1.5rem;
    left: -1.5rem;
}

.balance-stat-card .card-content {
    position: relative;
    z-index: 10;
}

.balance-stat-card .card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.balance-stat-card .card-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.balance-stat-card.card-blue .card-label {
    color: rgba(219, 234, 254, 1);
}

.balance-stat-card .card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-stat-card.card-blue .card-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.balance-stat-card .card-icon i {
    font-size: 1.25rem;
}

.balance-stat-card .card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

/* White card (Total Spent) */
.balance-stat-card.card-white {
    background: white;
    border: 2px solid #e5e7eb;
    color: #111827;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.balance-stat-card.card-white .card-label {
    color: #6b7280;
}

.balance-stat-card.card-white .card-icon {
    background: #f3e8ff;
}

.balance-stat-card.card-white .card-icon i {
    color: #9333ea;
}

.balance-stat-card.card-white .card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Amber/Orange gradient card (Discount) - from-amber-50 to-orange-50 */
.balance-stat-card.card-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    border: 2px solid #fde68a;
    color: #78350f;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}

.balance-stat-card.card-amber .card-label {
    color: #92400e;
}

.balance-stat-card.card-amber .card-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
}

.balance-stat-card.card-amber .card-icon i {
    color: white;
}

.balance-stat-card.card-amber .card-subtitle {
    font-size: 0.75rem;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.balance-stat-card.card-amber .info-badge {
    width: 1rem;
    height: 1rem;
    background: #fde68a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
}

/* Deposit button */
.btn-deposit {
    width: 100%;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-deposit:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-deposit:active {
    transform: translateY(0);
}

/* Locked Bonus Card */
.locked-bonus-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px dashed #f59e0b;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.locked-bonus-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.locked-bonus-icon i {
    font-size: 1.5rem;
    color: white;
}

.locked-bonus-info {
    flex: 1;
    min-width: 150px;
}

.locked-bonus-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.25rem 0;
}

.locked-bonus-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #b45309;
    margin: 0;
}

.locked-bonus-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #92400e;
}

.locked-bonus-hint i {
    font-size: 1rem;
    color: #f59e0b;
}

.locked-bonus-hint strong {
    color: #b45309;
}

/* Referral Bonus Card (green theme - available bonus) */
.referral-bonus-card {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px dashed #22c55e;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.referral-bonus-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.referral-bonus-icon i {
    font-size: 1.5rem;
    color: white;
}

.referral-bonus-info {
    flex: 1;
    min-width: 150px;
}

.referral-bonus-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #166534;
    margin: 0 0 0.25rem 0;
}

.referral-bonus-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #15803d;
    margin: 0;
}

.referral-bonus-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #166534;
}

.referral-bonus-hint i {
    font-size: 1rem;
    color: #22c55e;
}

.referral-bonus-hint strong {
    color: #15803d;
}

/* Frozen Placements Banner */
.frozen-placements-banner {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.frozen-banner-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.frozen-banner-icon i {
    font-size: 1.5rem;
    color: white;
}

.frozen-banner-content {
    flex: 1;
    min-width: 150px;
}

.frozen-banner-content h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.25rem 0;
}

.frozen-banner-count {
    font-size: 0.875rem;
    color: #1e40af;
    margin: 0;
}

.frozen-banner-count span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d4ed8;
}

.frozen-banner-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.btn-unfreeze {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-unfreeze:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-unfreeze:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.frozen-banner-hint {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Exchange Commission Card (admin only) */
.exchange-commission-card {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 2px solid #8b5cf6;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.exchange-commission-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exchange-commission-icon i {
    font-size: 1.5rem;
    color: white;
}

.exchange-commission-info {
    flex: 1;
    min-width: 150px;
}

.exchange-commission-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #5b21b6;
    margin: 0 0 0.25rem 0;
}

.exchange-commission-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #6d28d9;
    margin: 0;
}

.exchange-commission-details {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
}

.commission-stat {
    text-align: center;
}

.commission-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c3aed;
}

.commission-stat-label {
    display: block;
    font-size: 0.75rem;
    color: #5b21b6;
    margin-top: 0.125rem;
}

/* Frozen status badge in placements table */
.status-frozen {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-frozen i {
    font-size: 0.625rem;
}

/* Promo Code Section in Deposit Modal */
.promo-code-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.promo-code-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.promo-code-label i {
    color: #6366f1;
}

.promo-code-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-code-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.promo-apply-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.promo-apply-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.promo-apply-btn:active {
    transform: translateY(0);
}

.promo-code-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.promo-code-input::placeholder {
    text-transform: none;
    letter-spacing: normal;
    color: #9ca3af;
    font-weight: 400;
}

.promo-code-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.promo-code-status .bi-check-circle-fill {
    color: #22c55e;
}

.promo-code-status .bi-x-circle-fill {
    color: #ef4444;
}

.promo-code-status .spinner-border {
    width: 1rem;
    height: 1rem;
    color: #6366f1;
}

.promo-bonus-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #166534;
}

.promo-bonus-preview i {
    font-size: 1.25rem;
    color: #22c55e;
}

.promo-bonus-preview strong {
    font-size: 1.125rem;
}

/* Total Deposit Preview */
.total-deposit-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: #3730a3;
}

.total-deposit-preview i {
    font-size: 1.25rem;
    color: #4f46e5;
}

.total-deposit-preview strong {
    font-size: 1.125rem;
}

.promo-code-hint {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0.75rem 0 0 0;
}

.promo-code-error {
    font-size: 0.8125rem;
    color: #ef4444;
    margin: 0.5rem 0 0 0;
}

/* Discount Progress Section */
.discount-progress-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.discount-progress-card .card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.discount-progress-card .card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.discount-progress-card .highlight-text {
    color: #d97706;
    font-weight: 600;
}

/* Modern progress bar */
.progress-modern {
    height: 0.75rem;
    background: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-modern {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
    border-radius: 9999px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-bar-modern span {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.625rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Discount tiers table */
.discount-tiers-table {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.discount-tiers-table .table-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.discount-tiers-table .table-header h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.discount-tiers-table table {
    margin-bottom: 0;
}

.discount-tiers-table th {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.discount-tiers-table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.discount-tiers-table tr:hover {
    background: #f9fafb;
}

.discount-tiers-table tr.tier-current {
    background: #fffbeb;
}

.discount-tiers-table .tier-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.discount-tiers-table .tier-indicator.current {
    background: #f59e0b;
}

.discount-tiers-table .tier-indicator.next {
    background: #3b82f6;
}

.discount-tiers-table .tier-indicator.locked {
    background: #d1d5db;
}

.discount-tiers-table .tier-name {
    font-weight: 500;
    color: #111827;
}

.discount-tiers-table tr.tier-current .tier-name {
    color: #92400e;
}

.discount-tiers-table .tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.discount-tiers-table .tier-badge.badge-amber {
    background: #fef3c7;
    color: #b45309;
}

.discount-tiers-table .tier-badge.badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.discount-tiers-table .tier-badge.badge-gray {
    background: #f3f4f6;
    color: #6b7280;
}

.discount-tiers-table .tier-status {
    font-size: 0.75rem;
    font-weight: 500;
}

.discount-tiers-table .tier-status.status-current {
    color: #d97706;
}

.discount-tiers-table .tier-status.status-next {
    color: #3b82f6;
}

.discount-tiers-table .tier-status.status-locked {
    color: #9ca3af;
}

/* Transactions section */
.transactions-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.transactions-card .card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.transactions-card .card-header-info h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.transactions-card .card-header-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.transactions-card .export-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-export {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-export.btn-csv {
    background: #eef2ff;
    color: #4f46e5;
}

.btn-export.btn-csv:hover {
    background: #e0e7ff;
}

.btn-export.btn-json {
    background: #faf5ff;
    color: #9333ea;
}

.btn-export.btn-json:hover {
    background: #f3e8ff;
}

.transactions-card .card-body {
    padding: 0;
}

.transactions-card table {
    margin-bottom: 0;
}

.transactions-card th {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.transactions-card td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.transactions-card tr:hover {
    background: #f9fafb;
}

.transactions-card .transaction-id {
    font-weight: 500;
    color: #3b82f6;
}

.transactions-card .transaction-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transactions-card .transaction-type i {
    width: 1.25rem;
    height: 1.25rem;
}

.transactions-card .amount-positive {
    color: #059669;
    font-weight: 600;
}

.transactions-card .amount-negative {
    color: #dc2626;
    font-weight: 600;
}

/* Empty transactions state */
.transactions-empty {
    padding: 3rem 1.5rem;
    text-align: center;
}

.transactions-empty .empty-icon {
    width: 4rem;
    height: 4rem;
    background: #f3f4f6;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.transactions-empty .empty-icon i {
    font-size: 2rem;
    color: #9ca3af;
}

.transactions-empty p {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.transactions-empty .empty-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ========================================
   ENHANCED PROGRESS BAR WITH INDICATOR
   ======================================== */

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.progress-spent,
.progress-goal {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.text-amber {
    color: #d97706 !important;
}

.progress-modern-wrapper {
    position: relative;
    padding: 0.5rem 0;
}

.progress-modern {
    position: relative;
    height: 0.75rem;
    background: #f3f4f6;
    border-radius: 9999px;
    overflow: visible;
}

.progress-bar-modern {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.progress-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.5s ease;
    z-index: 10;
}

.progress-dot {
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border: 3px solid #f97316;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
    margin-left: -0.625rem;
}

.progress-tooltip {
    position: absolute;
    bottom: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.progress-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #f97316;
}

.progress-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.progress-percent,
.progress-remaining {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   MODERN DEPOSIT MODAL STYLES
   ======================================== */

.deposit-modal-modern {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.deposit-modal-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.deposit-header-content {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.deposit-header-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-header-icon i {
    font-size: 1.5rem;
    color: white;
}

.deposit-header-text {
    color: white;
}

.deposit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.deposit-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.25rem 0 0 0;
}

.deposit-close-btn {
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.deposit-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.deposit-modal-body {
    padding: 1.5rem;
}

/* Info Block */
.deposit-info-block {
    background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 50%, #e0e7ff 100%);
    border: 2px solid #22d3ee;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.deposit-info-icon {
    width: 2rem;
    height: 2rem;
    background: #06b6d4;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deposit-info-icon i {
    color: white;
    font-size: 1.125rem;
}

.deposit-info-content h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0e7490;
    margin: 0 0 0.25rem 0;
}

.deposit-info-content p {
    font-size: 0.75rem;
    color: #0891b2;
    margin: 0;
    line-height: 1.4;
}

/* Amount Section */
.deposit-amount-section {
    margin-bottom: 0;
}

.deposit-amount-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.deposit-amount-label i {
    color: #10b981;
}

.deposit-amount-input-wrapper {
    position: relative;
}

.deposit-currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
}

.deposit-amount-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.5rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    transition: all 0.2s;
}

.deposit-amount-input:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.deposit-amount-input::placeholder {
    color: #9ca3af;
}

.deposit-amount-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.5rem 0 0 0;
}

/* Success Block (Step 2) */
.deposit-success-block {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #34d399;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.deposit-success-icon {
    width: 2rem;
    height: 2rem;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-success-icon i {
    color: white;
    font-size: 1rem;
}

.deposit-success-block h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #047857;
    margin: 0;
}

/* Invoice Info */
.deposit-invoice-info {
    text-align: center;
    margin-bottom: 1.25rem;
}

.deposit-invoice-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0 0 0.25rem 0;
}

.deposit-invoice-expiry {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Pay Button */
.deposit-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.deposit-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Warning Block */
.deposit-warning-block {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #92400e;
}

.deposit-warning-block i {
    color: #f59e0b;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Pending Section */
.deposit-pending-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.deposit-pending-header i {
    color: #f59e0b;
}

/* Modal Footer */
.deposit-modal-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.deposit-btn-secondary {
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.deposit-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.deposit-btn-primary {
    flex: 1;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
    border: none;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.deposit-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.deposit-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hide step 2 footer buttons initially */
.deposit-modal-modern.step2-active .deposit-modal-footer .deposit-btn-primary {
    display: none;
}

/* ============================================
   PAGINATION STYLES
   ============================================ */

.pagination-wrapper {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.pagination-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-left span {
    font-size: 14px;
    color: #4b5563;
}

.pagination-left select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.pagination-left select:hover {
    border-color: #9ca3af;
}

.pagination-left select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pagination-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-info {
    font-size: 14px;
    color: #4b5563;
    margin-right: 16px;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

#pageNumbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-arrow:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #9ca3af;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .pagination-left,
    .pagination-right {
        width: 100%;
        justify-content: center;
    }

    .pagination-info {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

/* ========================================
   PLACEMENTS PAGE STYLES
   ======================================== */

/* Placements Card Base - React: bg-white rounded-2xl border border-gray-200 */
.placements-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Unified section styles - for merged blocks */
.placements-unified-section {
    padding: 1.5rem;
}

.placements-unified-section.section-with-border {
    border-bottom: 1px solid #e5e7eb;
}

.placements-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.placements-section-title i {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Custom Radio Group (React style - colored circle indicators) */
.custom-radio-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.custom-radio-group.vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.custom-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.custom-radio-label:hover {
    color: #1f2937;
}

/* Hide default radio input */
.custom-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio circle */
.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background: white;
    transition: all 0.2s;
    flex-shrink: 0;
}

/* Colored radio states - Blue (Main page) */
.custom-radio-label.radio-blue input[type="radio"]:checked + .radio-circle {
    border-color: #3b82f6;
    border-width: 6px;
}

.custom-radio-label.radio-blue:hover .radio-circle {
    border-color: #93c5fd;
}

.custom-radio-label.radio-blue input[type="radio"]:checked ~ span {
    color: #2563eb;
}

/* Colored radio states - Purple (Articles) */
.custom-radio-label.radio-purple input[type="radio"]:checked + .radio-circle {
    border-color: #8b5cf6;
    border-width: 6px;
}

.custom-radio-label.radio-purple:hover .radio-circle {
    border-color: #c4b5fd;
}

.custom-radio-label.radio-purple input[type="radio"]:checked ~ span {
    color: #7c3aed;
}

/* Colored radio states - Green (Publish immediately) */
.custom-radio-label.radio-green input[type="radio"]:checked + .radio-circle {
    border-color: #22c55e;
    border-width: 6px;
}

.custom-radio-label.radio-green:hover .radio-circle {
    border-color: #86efac;
}

.custom-radio-label.radio-green input[type="radio"]:checked ~ span {
    color: #16a34a;
}

/* Colored radio states - Orange (Scheduled) */
.custom-radio-label.radio-orange input[type="radio"]:checked + .radio-circle {
    border-color: #f97316;
    border-width: 6px;
}

.custom-radio-label.radio-orange:hover .radio-circle {
    border-color: #fdba74;
}

.custom-radio-label.radio-orange input[type="radio"]:checked ~ span {
    color: #ea580c;
}

/* Custom Checkbox (React style - gradient fill) */
.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
}

.custom-checkbox-label:hover {
    color: #1f2937;
}

/* Hide default checkbox input */
.custom-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox box */
.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox-label input[type="checkbox"]:checked + .checkbox-box {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-color: #3b82f6;
}

.custom-checkbox-label:hover .checkbox-box {
    border-color: #93c5fd;
}

.checkbox-box svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.custom-checkbox-label input[type="checkbox"]:checked + .checkbox-box svg {
    opacity: 1;
}

.custom-checkbox-label input[type="checkbox"]:checked ~ span {
    color: #2563eb;
}

/* Sites filter row (React style) */
.sites-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sites-filter-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sites-filter-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sites-filter-right label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* GEO filter select (React style) */
.geo-filter-select {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: all 0.2s;
}

.geo-filter-select:focus {
    outline: none;
    border-color: #3b82f6;
}

.geo-filter-select:hover {
    border-color: #d1d5db;
}

/* Filter options row (in search filter section) */
.filter-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.filter-options-row .custom-checkbox-label {
    margin-bottom: 0;
}

.geo-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.geo-filter-wrapper label {
    margin-bottom: 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Sites limit buttons (React style - dark active) */
.sites-limit-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sites-limit-btn-new {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: #f3f4f6;
    color: #374151;
}

.sites-limit-btn-new:hover {
    background: #e5e7eb;
}

.sites-limit-btn-new.active {
    background: #1f2937;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sites-count-text {
    font-size: 14px;
    color: #6b7280;
    margin-left: 0.5rem;
}

/* Gradient Headers */
.placements-card-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Gray headers for placements page (React reference: bg-gray-50) */
.placements-card-header.header-settings,
.placements-card-header.header-calendar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.placements-card-header.header-globe {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
}

.placements-card-header.header-list {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.placements-header-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placements-header-icon i {
    font-size: 1.25rem;
    color: white;
}

/* Header text colors - gray headers have dark text */
.header-settings .placements-header-text h5,
.header-calendar .placements-header-text h5,
.header-settings h5,
.header-calendar h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Colored headers keep white text */
.header-globe .placements-header-text h5,
.header-list .placements-header-text h5 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.header-globe .placements-header-text p,
.header-list .placements-header-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Gray headers don't show subtitle */
.header-settings .placements-header-text p,
.header-calendar .placements-header-text p {
    display: none;
}

/* Card Body */
.placements-card-body {
    padding: 1.25rem;
}

/* Radio Group Styling */
.placements-radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.placements-radio {
    position: relative;
}

.placements-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.placements-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s ease;
}

.placements-radio-label:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.placements-radio input[type="radio"]:checked + .placements-radio-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.placements-radio-label .emoji {
    font-size: 1.125rem;
}

/* Form Elements */
.placements-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: block;
}

.placements-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.placements-select:focus {
    outline: none;
    border-color: #667eea;
}

/* Limit Buttons */
.placements-limit-group {
    display: flex;
    gap: 0.5rem;
}

.placements-limit-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.placements-limit-btn:hover {
    background: #f3f4f6;
}

.placements-limit-btn.active {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

/* Filter Row */
.placements-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}

.placements-filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.placements-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.placements-checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #667eea;
}

/* Info Row */
.placements-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.placements-count-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.placements-count-info strong {
    color: #111827;
}

/* Table Styling */
.placements-table-wrapper {
    overflow-x: auto;
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
}

.placements-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.placements-table th {
    background: #f9fafb;
    padding: 0.625rem 0.5rem;
    text-align: left;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.placements-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.placements-table tr:hover {
    background: #f9fafb;
}

.placements-table tr.table-danger,
.links-table tr.table-danger {
    background: rgba(254, 242, 242, 0.5) !important;
}

.placements-table tr.table-danger:hover,
.links-table tr.table-danger:hover {
    background: rgba(254, 226, 226, 0.6) !important;
}

.placements-table tr.table-danger td,
.links-table tr.table-danger td {
    background: inherit !important;
}

.placements-table tr.table-warning,
.links-table tr.table-warning {
    background: #fffbeb;
}

.placements-table tr.table-secondary,
.links-table tr.table-secondary {
    background: #f3f4f6;
}

/* Metric Colors in Table */
.placements-table .metric-high {
    color: #059669;
    font-weight: 600;
}

.placements-table .metric-medium {
    color: #3b82f6;
}

.placements-table .metric-low {
    color: #9ca3af;
}

/* Content Dropdown */
.placements-content-select {
    min-width: 200px;
    max-width: 300px;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    background: white;
}

/* Sticky Action Bar (React reference - white bg, gray border) */
#stickyActionBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 12px 24px;
    display: none;
    transition: all 0.3s ease;
}

#stickyActionBar.show {
    display: block;
}

#stickyActionBar .action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sticky action buttons - React style: white bg, gray border */
#stickyActionBar .sticky-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

#stickyActionBar .sticky-action-btn:hover:not(:disabled) {
    background: #f9fafb;
}

#stickyActionBar .sticky-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#stickyActionBar .sticky-action-btn i {
    font-size: 16px;
    color: #6b7280;
}

#stickyActionBar .action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    min-width: 20px;
}

/* Distribution Slider */
.placements-slider-wrapper {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
}

.placements-slider {
    width: 100%;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    appearance: none;
    cursor: pointer;
}

.placements-slider::-webkit-slider-thumb {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.placements-slider-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.placements-slider-value {
    font-weight: 600;
    color: #3b82f6;
}

/* Distribution Preview */
.placements-preview {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 100%);
    border: 1px solid #22d3ee;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    color: #0e7490;
}

.placements-preview i {
    margin-right: 0.5rem;
}

/* Whitelist/Blacklist Section */
.placements-lists-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    overflow: hidden;
}

.placements-lists-body {
    padding: 1.25rem;
}

.placements-list-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.placements-list-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.placements-list-header .badge {
    font-size: 0.75rem;
}

.placements-list-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.placements-list-actions .btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
}
/* ==========================================
   PBN Subscription Styles
   ========================================== */

/* Subscription Section Container */
.subscription-section {
    margin-bottom: 2rem;
}

/* Trial Banner */
.trial-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.trial-banner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trial-banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-banner-icon i {
    font-size: 2.5rem;
}

.trial-banner-info {
    flex: 1;
}

.trial-banner-info h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.trial-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.trial-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.trial-features li i {
    color: #10b981;
}

.btn-start-trial {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-start-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-start-trial:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Current Subscription Card */
.current-subscription-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.subscription-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
}

.subscription-plan-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.subscription-plan-badge i {
    font-size: 1.1rem;
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.subscription-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.subscription-status.status-active {
    background: #dcfce7;
    color: #166534;
}

.subscription-status.status-active .status-dot {
    background: #22c55e;
}

.subscription-status.status-trial {
    background: #e0e7ff;
    color: #3730a3;
}

.subscription-status.status-trial .status-dot {
    background: #6366f1;
}

.subscription-status.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.subscription-status.status-warning .status-dot {
    background: #f59e0b;
}

.subscription-status.status-suspended {
    background: #fee2e2;
    color: #991b1b;
}

.subscription-status.status-suspended .status-dot {
    background: #ef4444;
}

.subscription-card-body {
    padding: 1.5rem;
}

.subscription-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.subscription-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.subscription-stat .stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.subscription-stat .stat-info {
    display: flex;
    flex-direction: column;
}

.subscription-stat .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subscription-stat .stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

/* Auto-renewal Section */
.auto-renewal-section {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.auto-renewal-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-info {
    display: flex;
    flex-direction: column;
}

.toggle-label {
    font-weight: 600;
    color: #1e293b;
}

.toggle-status {
    font-size: 0.875rem;
    color: #64748b;
}

.toggle-status.text-warning {
    color: #d97706 !important;
}

/* Subscription Actions */
.subscription-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-subscription-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-subscription-action.btn-upgrade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-subscription-action.btn-upgrade:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-subscription-action.btn-downgrade {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-subscription-action.btn-downgrade:hover {
    background: #e2e8f0;
}

.btn-subscription-action.btn-cancel {
    background: #fee2e2;
    color: #dc2626;
}

.btn-subscription-action.btn-cancel:hover {
    background: #fecaca;
}

/* Trial Expired Banner */
.trial-expired-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #fcd34d;
}

.trial-expired-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trial-expired-icon {
    width: 50px;
    height: 50px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-expired-icon i {
    font-size: 1.5rem;
    color: #92400e;
}

.trial-expired-info h5 {
    margin: 0 0 0.25rem 0;
    color: #92400e;
    font-weight: 600;
}

.trial-expired-info p {
    margin: 0;
    color: #78350f;
    font-size: 0.875rem;
}

/* Subscription Plans Header */
.subscription-plans-header {
    margin-bottom: 1.5rem;
}

.subscription-plans-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.subscription-plans-header p {
    color: #64748b;
    margin: 0;
}

/* Subscription Plans Grid */
.subscription-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.subscription-plan-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.subscription-plan-card:hover {
    border-color: #667eea;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.subscription-plan-card.current {
    border-color: #667eea;
    background: linear-gradient(to bottom, #f8faff 0%, white 100%);
}

.subscription-plan-card.popular {
    border-color: #f59e0b;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.plan-price .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.plan-price .price-period {
    font-size: 1rem;
    color: #64748b;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
}

.plan-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

.btn-plan-action {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-plan-action.btn-subscribe {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-plan-action.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-plan-action.btn-current {
    background: #f1f5f9;
    color: #64748b;
    cursor: default;
}

.btn-plan-action.btn-upgrade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-plan-action.btn-downgrade {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Subscription Modals */
.subscription-modal .modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
}

.subscription-modal .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.subscription-modal .modal-body {
    padding: 1.5rem;
}

.subscription-modal .modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
}

.plan-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.plan-option:hover {
    border-color: #667eea;
}

.plan-option input[type="radio"] {
    margin-top: 0.25rem;
}

.plan-option label {
    cursor: pointer;
    flex: 1;
}

.upgrade-cost-preview,
.downgrade-warning {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cancel-warning {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.cancel-warning i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cancel-warning p {
    margin: 0;
    color: #991b1b;
}

.subscribe-plan-info {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8faff 0%, #f1f5f9 100%);
    border-radius: 0.75rem;
}

.subscribe-plan-info h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.subscribe-plan-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0 0 0.25rem 0;
}

.subscribe-plan-info .price .period {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.subscribe-plan-info .sites-limit {
    margin: 0;
    color: #64748b;
}

.balance-check {
    text-align: center;
}

.balance-check p {
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trial-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .trial-features {
        justify-content: center;
    }

    .btn-start-trial {
        width: 100%;
        justify-content: center;
    }

    .subscription-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .subscription-actions {
        flex-direction: column;
    }

    .btn-subscription-action {
        width: 100%;
        justify-content: center;
    }

    .subscription-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BALANCE PAGE - MODERN REDESIGN v2
   Indigo color scheme matching React reference
   ============================================ */

/* Modern Subscription Card Redesign */
.current-subscription-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.subscription-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

/* Plan Badge - Modern Indigo */
.subscription-plan-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.subscription-plan-badge i {
    font-size: 1rem;
}

/* Status Badge - Modern Design */
.subscription-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
}

.subscription-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.subscription-status.status-active {
    color: #166534;
}

.subscription-status.status-active .status-dot {
    background: #22c55e;
}

.subscription-status.status-trial {
    color: #4f46e5;
}

.subscription-status.status-trial .status-dot {
    background: #4f46e5;
}

.subscription-status.status-warning {
    color: #92400e;
}

.subscription-status.status-warning .status-dot {
    background: #f59e0b;
}

.subscription-status.status-suspended {
    color: #991b1b;
}

.subscription-status.status-suspended .status-dot {
    background: #ef4444;
}

/* Subscription Card Body */
.subscription-card-body {
    padding: 1.5rem;
}

/* Metrics Grid - Modern 4-column Layout */
.subscription-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .subscription-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .subscription-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

/* Metric Item - Modern Card Style */
.subscription-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.subscription-stat:hover {
    background: #f3f4f6;
}

.subscription-stat .stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #4f46e5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.subscription-stat .stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.subscription-stat .stat-label {
    font-size: 0.625rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.subscription-stat .stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

/* Auto-renewal Section - Modern Design */
.auto-renewal-section {
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
    border-radius: 0;
}

.auto-renewal-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Modern Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 1.75rem;
    flex-shrink: 0;
    order: 2;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 9999px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    left: 0.125rem;
    bottom: 0.125rem;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: #4f46e5;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(1.75rem);
}

/* Toggle Info */
.toggle-info {
    display: flex;
    flex-direction: column;
    order: 1;
}

.toggle-label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.125rem;
}

.toggle-status {
    font-size: 0.875rem;
    color: #6b7280;
}

.toggle-status.text-warning {
    color: #f97316 !important;
    font-weight: 500;
}

/* Subscription Actions - Modern Buttons */
.subscription-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-subscription-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-subscription-action.btn-upgrade {
    background: #4f46e5;
    color: white;
}

.btn-subscription-action.btn-upgrade:hover {
    background: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-subscription-action.btn-downgrade {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-subscription-action.btn-downgrade:hover {
    background: #e2e8f0;
}

.btn-subscription-action.btn-cancel {
    background: #fef2f2;
    color: #dc2626;
}

.btn-subscription-action.btn-cancel:hover {
    background: #fee2e2;
}

/* PBN Plans Grid - Modern Card Style */
.subscription-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.subscription-plan-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.subscription-plan-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.subscription-plan-card.popular {
    border: 3px solid #fb923c;
    box-shadow: 0 10px 25px rgba(251, 146, 60, 0.2);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 1.25rem;
}

.plan-price .price-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #4f46e5;
}

.plan-price .price-period {
    font-size: 0.875rem;
    color: #6b7280;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.plan-features li i {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Plan Action Buttons */
.btn-plan-action {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-plan-action.btn-subscribe {
    background: #4f46e5;
    color: white;
}

.btn-plan-action.btn-subscribe:hover {
    background: #4338ca;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-plan-action.btn-current {
    background: #dcfce7;
    color: #166534;
    cursor: default;
}

.btn-plan-action.btn-upgrade {
    background: #4f46e5;
    color: white;
}

.btn-plan-action.btn-upgrade:hover {
    background: #4338ca;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-plan-action.btn-downgrade {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-plan-action.btn-downgrade:hover {
    background: #e2e8f0;
}

/* Stat Cards - Modern Indigo Gradient */
.balance-stat-card.card-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.35);
}

/* Plan Option Radio Buttons */
.plan-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.plan-option:hover {
    background: #f3f4f6;
}

.plan-option:has(input:checked) {
    background: #eef2ff;
    border-color: #4f46e5;
}

.plan-option input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: #4f46e5;
}

.plan-option label {
    flex: 1;
    cursor: pointer;
}

.plan-option strong {
    color: #111827;
}

/* Subscription Section Header */
.subscription-plans-header {
    margin-bottom: 1.5rem;
}

.subscription-plans-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.subscription-plans-header p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

/* ============================================
   SUBSCRIPTION CARD - NEW MODERN DESIGN
   ============================================ */

.subscription-card-new {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Header with badges */
.subscription-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.subscription-badges-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Trial badge - orange gradient */
.trial-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.trial-badge-new i {
    font-size: 1rem;
}

/* Plan badge - indigo gradient */
.plan-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.plan-badge-new i {
    font-size: 1rem;
}

.status-badge-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot-new {
    width: 0.5rem;
    height: 0.5rem;
    background: #4f46e5;
    border-radius: 50%;
}

.status-badge-new span:last-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f46e5;
}

/* Metrics Grid */
.subscription-metrics-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .subscription-metrics-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .subscription-metrics-new {
        grid-template-columns: 1fr;
    }
}

.metric-card-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
}

.metric-icon-new {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4f46e5;
    border-radius: 0.75rem;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.metric-content-new {
    display: flex;
    flex-direction: column;
}

.metric-label-new {
    font-size: 0.625rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.metric-value-new {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

/* Auto-renewal section */
.auto-renewal-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.auto-renewal-info-new {
    display: flex;
    flex-direction: column;
}

.auto-renewal-label-new {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

/* Auto-renewal status - default is enabled (green) */
.auto-renewal-status-new {
    font-size: 0.875rem;
    color: #22c55e;
    font-weight: 500;
}

/* When disabled - JS adds text-warning class */
.auto-renewal-status-new.text-warning {
    color: #f97316 !important;
}

/* Toggle Switch */
.toggle-new {
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 1.75rem;
    cursor: pointer;
}

.toggle-new input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider-new {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.toggle-slider-new::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.toggle-new input:checked + .toggle-slider-new {
    background: #4f46e5;
}

.toggle-new input:checked + .toggle-slider-new::before {
    transform: translateX(1.75rem);
}

/* Action Buttons */
.subscription-actions-new {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-upgrade-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upgrade-new:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.btn-upgrade-new i {
    font-size: 1rem;
}

.btn-cancel-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #fef2f2;
    color: #dc2626;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-new:hover {
    background: #fee2e2;
}

.btn-cancel-new i {
    font-size: 0.875rem;
}

/* ========================================
   PRICING PAGE STYLES
   ======================================== */

/* Pricing Hero */
.pricing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.pricing-hero-content {
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.section-header-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-header-icon i {
    font-size: 1.5rem;
    color: white;
}

.section-header-icon.exchange-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.section-header-icon.loyalty-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.section-header-icon.access-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.section-header-pricing h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.section-header-pricing p {
    color: #6b7280;
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
}

/* Pricing Plans Grid */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Pricing Plan Card */
.pricing-plan-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-plan-card:hover {
    border-color: #667eea;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
}

.pricing-plan-card.current {
    border-color: #22c55e;
    background: linear-gradient(to bottom, #f0fdf4 0%, white 100%);
}

.pricing-plan-card.popular {
    border: 3px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.pricing-plan-card .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    white-space: nowrap;
}

.pricing-plan-card .popular-badge i {
    font-size: 0.625rem;
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
}

.price-period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Plan Sites */
.plan-sites {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.sites-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
}

.sites-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.plan-features li i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Exchange Types Grid */
.exchange-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Exchange Type Card */
.exchange-type-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.exchange-type-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.exchange-type-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exchange-type-icon i {
    font-size: 1.5rem;
    color: white;
}

.exchange-type-icon.guestpost-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.exchange-type-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.375rem 0;
}

.exchange-type-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

.exchange-type-price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.exchange-type-price .price-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.exchange-type-price .price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.exchange-type-price .price-note {
    font-size: 0.875rem;
    color: #6b7280;
}

.exchange-type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exchange-type-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #4b5563;
    padding: 0.25rem 0;
}

.exchange-type-features li i {
    color: #22c55e;
    font-size: 0.875rem;
}

/* Loyalty Tiers Grid */
.loyalty-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

/* Loyalty Tier Card */
.loyalty-tier-card {
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    transition: all 0.3s ease;
}

.loyalty-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.loyalty-tier-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.loyalty-tier-icon i {
    font-size: 1.25rem;
    color: #6b7280;
}

.loyalty-tier-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

.loyalty-tier-discount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 0.25rem;
}

.loyalty-tier-threshold {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Loyalty Tier Colors */
.loyalty-tier-card.tier-standard .loyalty-tier-icon {
    background: #f3f4f6;
}

.loyalty-tier-card.tier-bronze {
    border-color: #d97706;
}

.loyalty-tier-card.tier-bronze .loyalty-tier-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.loyalty-tier-card.tier-bronze .loyalty-tier-icon i {
    color: white;
}

.loyalty-tier-card.tier-silver {
    border-color: #9ca3af;
}

.loyalty-tier-card.tier-silver .loyalty-tier-icon {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.loyalty-tier-card.tier-silver .loyalty-tier-icon i {
    color: white;
}

.loyalty-tier-card.tier-gold {
    border-color: #eab308;
}

.loyalty-tier-card.tier-gold .loyalty-tier-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #eab308 100%);
}

.loyalty-tier-card.tier-gold .loyalty-tier-icon i {
    color: white;
}

.loyalty-tier-card.tier-platinum {
    border-color: #3b82f6;
}

.loyalty-tier-card.tier-platinum .loyalty-tier-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.loyalty-tier-card.tier-platinum .loyalty-tier-icon i {
    color: white;
}

.loyalty-tier-card.tier-diamond {
    border-color: #8b5cf6;
}

.loyalty-tier-card.tier-diamond .loyalty-tier-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.loyalty-tier-card.tier-diamond .loyalty-tier-icon i {
    color: white;
}

/* Access Tiers Grid */
.access-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Access Tier Card */
.access-tier-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    transition: all 0.3s ease;
}

.access-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.tier-badge {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #374151;
}

.tier-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.tier-features li i {
    font-size: 1rem;
    flex-shrink: 0;
}

.tier-features li i.bi-check-lg {
    color: #22c55e;
}

.tier-features li i.bi-x-lg {
    color: #d1d5db;
}

/* Tier Card Colors */
.access-tier-card.tier-1 {
    border-color: #e5e7eb;
}

.access-tier-card.tier-1 .tier-badge {
    background: #f3f4f6;
    color: #6b7280;
}

.access-tier-card.tier-2 {
    border-color: #3b82f6;
}

.access-tier-card.tier-2 .tier-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.access-tier-card.tier-3 {
    border-color: #8b5cf6;
    background: linear-gradient(to bottom, #f5f3ff 0%, white 100%);
}

.access-tier-card.tier-3 .tier-badge {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

/* CTA Section */
.pricing-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-cta-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.pricing-cta-content {
    position: relative;
    z-index: 1;
}

.pricing-cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.pricing-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

/* Icon Gradient Classes */
.gradient-purple-pink {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 2rem 1.5rem;
    }

    .pricing-hero h1 {
        font-size: 1.5rem;
    }

    .pricing-section {
        padding: 1.5rem;
    }

    .section-header-pricing {
        flex-direction: column;
        text-align: center;
    }

    .pricing-plans-grid {
        grid-template-columns: 1fr;
    }

    .exchange-types-grid {
        grid-template-columns: 1fr;
    }

    .exchange-type-card {
        flex-direction: column;
        text-align: center;
    }

    .loyalty-tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .access-tiers-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================= */
/* PRICING PAGE V2 - FIGMA DESIGN STYLES        */
/* ============================================= */

/* Pricing Navbar */
.pricing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    padding: 0.875rem 0;
}

.pricing-navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    color: #111827;
}

.pricing-navbar .brand-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-navbar .brand-icon i {
    font-size: 1.25rem;
    color: white;
}

.pricing-navbar .navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pricing-navbar .lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: #f3f4f6;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-navbar .lang-switcher:hover {
    background: #e5e7eb;
}

.pricing-navbar .btn-trial {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 50%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pricing-navbar .btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    color: white;
}

/* Main Content Wrapper */
.pricing-page-v2 {
    padding-top: 4.5rem; /* Account for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

/* Hero Section V2 */
.pricing-hero-v2 {
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.pricing-hero-v2 h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #2563eb, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.pricing-hero-v2 p {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Container V2 */
.pricing-section-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.pricing-section-v2 .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-section-v2 .section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
}

/* Plans Grid V2 */
.pricing-plans-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Plan Card V2 */
.pricing-plan-card-v2 {
    background: white;
    border-radius: 1.25rem;
    border: 1px solid #e5e7eb;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-plan-card-v2:hover {
    border-color: #bfdbfe;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.pricing-plan-card-v2.popular {
    transform: scale(1.05);
    border: 2px solid #3b82f6;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
    z-index: 2;
}

.pricing-plan-card-v2.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-plan-card-v2 .popular-badge-v2 {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    white-space: nowrap;
}

.pricing-plan-card-v2 .plan-name-v2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-plan-card-v2 .plan-price-v2 {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-plan-card-v2 .price-amount-v2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
}

.pricing-plan-card-v2 .price-period-v2 {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.pricing-plan-card-v2 .plan-sites-v2 {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Popular plan sites badge - purple tint */
.pricing-plan-card-v2.popular .plan-sites-v2 {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.pricing-plan-card-v2 .sites-count-v2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.pricing-plan-card-v2 .sites-label-v2 {
    font-size: 0.875rem;
    color: #4b5563;
    margin-left: 0.25rem;
}

.pricing-plan-card-v2 .plan-features-v2 {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.pricing-plan-card-v2 .plan-features-v2 li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.pricing-plan-card-v2 .plan-features-v2 li i {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-plan-card-v2 .btn-plan-v2 {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.pricing-plan-card-v2 .btn-plan-v2.btn-primary-v2 {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
}

.pricing-plan-card-v2 .btn-plan-v2.btn-primary-v2:hover {
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.pricing-plan-card-v2 .btn-plan-v2.btn-outline-v2 {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.pricing-plan-card-v2 .btn-plan-v2.btn-outline-v2:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Link Exchange Section V2 */
.exchange-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.exchange-card-v2 {
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.exchange-card-v2.homepage {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.exchange-card-v2.guestpost {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.exchange-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.exchange-card-v2 .exchange-icon-v2 {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.exchange-card-v2.homepage .exchange-icon-v2 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.exchange-card-v2.guestpost .exchange-icon-v2 {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.exchange-card-v2 .exchange-icon-v2 i {
    font-size: 1.75rem;
    color: white;
}

.exchange-card-v2 h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.exchange-card-v2 .exchange-desc-v2 {
    font-size: 0.9375rem;
    color: #4b5563;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.exchange-card-v2 .exchange-price-v2 {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.exchange-card-v2 .price-label-v2 {
    font-size: 0.875rem;
    color: #6b7280;
}

.exchange-card-v2 .price-value-v2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.exchange-card-v2 .price-note-v2 {
    font-size: 0.875rem;
    color: #6b7280;
}

.exchange-card-v2 .exchange-features-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exchange-card-v2 .exchange-features-v2 li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #374151;
    padding: 0.375rem 0;
}

.exchange-card-v2 .exchange-features-v2 li i {
    color: #22c55e;
    font-size: 1rem;
}

/* Exchange Info Grid */
.exchange-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.exchange-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #374151;
}

.exchange-info-item i {
    font-size: 1.125rem;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .exchange-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
}

/* Loyalty Section V2 */
.loyalty-section-v2 {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.loyalty-section-v2 .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.loyalty-section-v2 .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.loyalty-section-v2 .section-header p {
    font-size: 1.125rem;
    color: #4b5563;
}

.loyalty-tiers-grid-v2 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.loyalty-tier-card-v2 {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.loyalty-tier-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.loyalty-tier-card-v2 .tier-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.loyalty-tier-card-v2 .tier-name-v2 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

.loyalty-tier-card-v2 .tier-discount-v2 {
    font-size: 1.375rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 0.25rem;
}

.loyalty-tier-card-v2 .tier-threshold-v2 {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Loyalty tier border colors */
.loyalty-tier-card-v2.tier-standard { border-color: #e5e7eb; }
.loyalty-tier-card-v2.tier-bronze { border-color: #d97706; }
.loyalty-tier-card-v2.tier-silver { border-color: #9ca3af; }
.loyalty-tier-card-v2.tier-gold { border-color: #eab308; }
.loyalty-tier-card-v2.tier-platinum { border-color: #3b82f6; }
.loyalty-tier-card-v2.tier-diamond { border-color: #8b5cf6; }

/* Discount Formula */
.discount-formula-v2 {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.discount-formula-v2 .formula-highlight {
    font-weight: 700;
    color: #22c55e;
}

.discount-formula-v2 .formula-separator {
    color: #9ca3af;
    margin: 0 0.5rem;
}

/* Access Tiers Section V2 */
.access-tiers-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.access-tier-card-v2 {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.access-tier-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.access-tier-card-v2 .tier-icon-v2 {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.access-tier-card-v2.tier-1 .tier-icon-v2 {
    background: #f3f4f6;
}

.access-tier-card-v2.tier-1 .tier-icon-v2 i {
    color: #6b7280;
    font-size: 1.5rem;
}

.access-tier-card-v2.tier-2 .tier-icon-v2 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.access-tier-card-v2.tier-2 .tier-icon-v2 i {
    color: white;
    font-size: 1.5rem;
}

.access-tier-card-v2.tier-3 .tier-icon-v2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.access-tier-card-v2.tier-3 .tier-icon-v2 i {
    color: white;
    font-size: 1.5rem;
}

.access-tier-card-v2 .tier-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.access-tier-card-v2 .tier-name-v2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.access-tier-card-v2 .tier-amount-v2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
}

.access-tier-card-v2 .tier-features-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-tier-card-v2 .tier-features-v2 li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.access-tier-card-v2 .tier-features-v2 li i.bi-check-lg {
    color: #22c55e;
    font-size: 1rem;
}

.access-tier-card-v2 .tier-features-v2 li i.bi-x-lg {
    color: #d1d5db;
    font-size: 1rem;
}

.access-tier-card-v2 .tier-features-v2 li.disabled {
    color: #9ca3af;
}

/* CTA Section V2 */
.pricing-cta-v2 {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-cta-v2::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.pricing-cta-v2 .cta-content {
    position: relative;
    z-index: 1;
}

.pricing-cta-v2 h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pricing-cta-v2 p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cta-v2 .btn-cta-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #7c3aed;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pricing-cta-v2 .btn-cta-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Footer V2 */
.pricing-footer {
    background: #111827;
    padding: 2rem 0;
    margin-top: 4rem;
}

.pricing-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.pricing-footer .footer-brand .brand-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-footer .footer-brand .brand-icon i {
    font-size: 1.125rem;
    color: white;
}

.pricing-footer .footer-copyright {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive V2 */
@media (max-width: 1200px) {
    .pricing-plans-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-plan-card-v2.popular {
        transform: scale(1);
    }

    .pricing-plan-card-v2.popular:hover {
        transform: translateY(-4px);
    }

    .loyalty-tiers-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .exchange-grid-v2 {
        grid-template-columns: 1fr;
    }

    .access-tiers-grid-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-navbar .container {
        padding: 0 1rem;
    }

    .pricing-hero-v2 {
        padding: 3rem 1rem 2rem;
    }

    .pricing-hero-v2 h1 {
        font-size: 2rem;
    }

    .pricing-hero-v2 p {
        font-size: 1rem;
    }

    .pricing-section-v2 {
        padding: 0 1rem 3rem;
    }

    .pricing-section-v2 .section-title {
        font-size: 1.5rem;
    }

    .pricing-plans-grid-v2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .loyalty-section-v2 {
        padding: 2rem 1rem;
    }

    .loyalty-tiers-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .loyalty-tier-card-v2 {
        padding: 1rem 0.75rem;
    }

    .loyalty-tier-card-v2 .tier-emoji {
        font-size: 2rem;
    }

    .discount-formula-v2 {
        flex-wrap: wrap;
        font-size: 0.9375rem;
        padding: 1rem;
    }

    .pricing-cta-v2 {
        padding: 3rem 1.5rem;
    }

    .pricing-cta-v2 h2 {
        font-size: 1.75rem;
    }

    .pricing-cta-v2 p {
        font-size: 1rem;
    }

    .pricing-footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* Modern Toast Notifications */
.toast-modern {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 10000;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    animation: toastSlideIn 0.3s ease forwards;
    max-width: 90%;
}

@keyframes toastSlideIn {
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.toast-modern.toast-out {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
    to { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

.toast-modern.toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.toast-modern.toast-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.toast-modern.toast-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.toast-modern.toast-info {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.toast-modern i { font-size: 1.25rem; }

.toast-modern .toast-close {
    margin-left: 0.5rem;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
}

.toast-modern .toast-close:hover { opacity: 1; }
