/* General Body Styles */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #E0E0E0;
    margin: 0;
    padding: 20px;
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1E1E1E 0%, #252525 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(196, 166, 107, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid #C4A66B;
}

/* Header and Typography */
header {
    margin-bottom: 30px;
}

h1 {
    color: #D4AF37;
    font-size: 2em;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding: 0 0 15px 0;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #D4AF37 0%, #C4A66B 50%, transparent 100%) 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    color: #C4A66B;
    font-size: 1.4em;
    font-weight: 500;
    margin: 10px 0;
}

p {
    margin-bottom: 25px;
    color: #B0B0B0;
    font-size: 0.95em;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group > label:first-child {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #D4AF37;
    font-size: 1.05em;
    letter-spacing: 0.3px;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 6px;
    color: #E0E0E0;
    box-sizing: border-box;
    font-size: 1em;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #C4A66B;
    background-color: #2f2f2f;
    box-shadow: 0 0 0 3px rgba(196, 166, 107, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Custom Radio Buttons */
.radio-group,
.radio-group-vip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.radio-group input[type="radio"],
.radio-group-vip input[type="radio"] {
    display: none;
}

.radio-group label,
.radio-group-vip label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
    color: #B0B0B0;
    position: relative;
    margin: 0;
}

.radio-group label:hover,
.radio-group-vip label:hover {
    border-color: #C4A66B;
    background-color: #2f2f2f;
    transform: translateX(4px);
}

.radio-group input[type="radio"]:checked + label,
.radio-group-vip input[type="radio"]:checked + label {
    background: linear-gradient(135deg, rgba(196, 166, 107, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: #D4AF37;
    color: #D4AF37;
    font-weight: 500;
    box-shadow: 0 0 15px rgba(196, 166, 107, 0.2);
}

.radio-group label::before,
.radio-group-vip label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-group input[type="radio"]:checked + label::before,
.radio-group-vip input[type="radio"]:checked + label::before {
    border-color: #D4AF37;
    background: radial-gradient(circle, #D4AF37 0%, #D4AF37 40%, transparent 40%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* VIP Level Special Style */
.radio-group-vip {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group-vip label {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    padding: 16px 12px;
    font-size: 1.1em;
}

.radio-group-vip label::before {
    margin-right: 8px;
}

/* VIP Table Styles */
.vip-description {
    font-size: 0.9em;
    color: #C4A66B;
    font-style: italic;
    margin-top: -8px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(196, 166, 107, 0.1);
    border-left: 3px solid #D4AF37;
    border-radius: 4px;
}

.vip-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    padding: 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vip-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.vip-table thead {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(196, 166, 107, 0.2) 100%);
}

.vip-table thead th {
    padding: 16px 12px;
    text-align: left;
    color: #D4AF37;
    font-weight: 600;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #D4AF37;
}

.vip-table thead th:last-child {
    text-align: center;
}

.vip-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(196, 166, 107, 0.2);
}

.vip-table tbody tr:hover {
    background: rgba(196, 166, 107, 0.08);
    transform: translateX(4px);
}

.vip-table tbody tr.vip-row-premium {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.vip-table tbody tr.vip-row-elite {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.vip-table tbody tr.vip-row-elite:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.12) 0%, transparent 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.vip-table td {
    padding: 18px 12px;
    color: #E0E0E0;
    font-size: 1em;
}

.vip-table td.vip-level {
    font-weight: 600;
}

.vip-table td.vip-threshold {
    color: #C4A66B;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.vip-table td.vip-fee {
    color: #D4AF37;
    font-weight: 600;
    font-size: 1.1em;
}

.vip-table td.vip-select {
    text-align: center;
}

/* VIP Badge Small */
.vip-badge-small {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
    color: #0a0a0a;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.vip-badge-small.vip1 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

.vip-badge-small.vip2 {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
}

.vip-badge-small.vip3 {
    background: linear-gradient(135deg, #C4A66B 0%, #B8964F 100%);
}

.vip-badge-small.vip4 {
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
}

.vip-badge-small.vip5 {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    animation: shimmer 2s infinite;
}

.vip-badge-small.vip6 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite, shimmer 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* VIP Radio Label */
.vip-radio-label {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #555;
    border-radius: 50%;
    background-color: #2a2a2a;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.vip-radio-label:hover {
    border-color: #C4A66B;
    background-color: #2f2f2f;
    transform: scale(1.1);
}

.vip-table input[type="radio"] {
    display: none;
}

.vip-table input[type="radio"]:checked + .vip-radio-label {
    border-color: #D4AF37;
    background: radial-gradient(circle, #D4AF37 0%, #D4AF37 45%, transparent 45%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.vip-table input[type="radio"]:checked + .vip-radio-label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0a0a0a;
    font-weight: bold;
    font-size: 14px;
}

.vip-row input[type="radio"]:checked ~ td {
    color: #D4AF37;
    font-weight: 500;
}

.vip-row:has(input[type="radio"]:checked) {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, rgba(196, 166, 107, 0.1) 100%) !important;
    border: 2px solid #D4AF37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateX(8px) !important;
}

/* Submit Button */
button[type="submit"] {
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
    color: #0a0a0a;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(196, 166, 107, 0.3);
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #E5C047 0%, #D4AF37 100%);
    box-shadow: 0 6px 25px rgba(196, 166, 107, 0.5);
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(196, 166, 107, 0.3);
}

/* Flashed Messages */
.flashes {
    list-style: none;
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out;
}

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

.flashes li {
    font-weight: 500;
    display: flex;
    align-items: center;
}

.flashes li::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Success Message */
.flashes.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.1) 100%);
    border: 2px solid #4CAF50;
}

.flashes.success li {
    color: #4CAF50;
}

.flashes.success li::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat center;
}

/* Error Message */
.flashes.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15) 0%, rgba(244, 67, 54, 0.1) 100%);
    border: 2px solid #F44336;
}

.flashes.error li {
    color: #F44336;
}

.flashes.error li::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F44336"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>') no-repeat center;
}

/* Default/Info Message */
.flashes:not(.success):not(.error) {
    background: linear-gradient(135deg, rgba(196, 166, 107, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid #C4A66B;
}

.flashes:not(.success):not(.error) li {
    color: #D4AF37;
}

.flashes:not(.success):not(.error) li::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>') no-repeat center;
}

/* Language Switcher */
.language-switcher {
    text-align: right;
    margin-bottom: 25px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(196, 166, 107, 0.2);
}

.language-switcher a {
    display: inline-block;
    color: #C4A66B;
    text-decoration: none;
    margin: 0 8px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95em;
}

.language-switcher a:hover {
    background-color: rgba(196, 166, 107, 0.1);
    color: #D4AF37;
    transform: translateY(-2px);
}

/* Admin Panel Specifics */
.admin-container {
    border-color: #444;
    max-width: 95%;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(196, 166, 107, 0.3);
}

.admin-header h1 {
    color: #E0E0E0;
    border: none;
    margin: 0;
    padding: 0;
}

.subtitle {
    color: #888;
    font-size: 0.9em;
    margin: 5px 0 0 0;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.btn-analytics, .btn-export, .btn-logout, .btn-back {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
    border: 1px solid;
}

.btn-analytics {
    background: rgba(33, 150, 243, 0.1);
    border-color: #2196F3;
    color: #2196F3;
}

.btn-analytics:hover {
    background: #2196F3;
    color: #fff;
}

.btn-export {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
    color: #4CAF50;
}

.btn-export:hover {
    background: #4CAF50;
    color: #fff;
}

.btn-logout, .btn-back {
    background: rgba(244, 67, 54, 0.1);
    border-color: #F44336;
    color: #F44336;
}

.btn-logout:hover, .btn-back:hover {
    background: #F44336;
    color: #fff;
}

.btn-back {
    border-color: #C4A66B;
    color: #C4A66B;
    background: rgba(196, 166, 107, 0.1);
}

.btn-back:hover {
    background: #C4A66B;
    color: #121212;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #252525 100%);
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #C4A66B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 166, 107, 0.2);
}

.stat-icon {
    font-size: 2.5em;
}

.stat-value {
    font-size: 2em;
    font-weight: 700;
    color: #D4AF37;
}

.stat-label {
    font-size: 0.9em;
    color: #888;
}

/* Device Stats */
.device-stats {
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.device-stats h3 {
    color: #D4AF37;
    margin-top: 0;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.device-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #2a2a2a;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
}

.device-name {
    color: #C4A66B;
}

.device-count {
    color: #D4AF37;
    font-weight: 700;
}

/* Table Controls */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-controls h2 {
    color: #D4AF37;
    margin: 0;
}

.pagination-info {
    color: #888;
    font-size: 0.9em;
}

/* Data Table Enhancements */
.data-table {
    font-size: 0.9em;
}

.data-row:hover {
    background-color: rgba(196, 166, 107, 0.15) !important;
}

.vip-badge {
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
    color: #0a0a0a;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85em;
}

.vip-badge.large {
    padding: 8px 16px;
    font-size: 1em;
}

code {
    background: #2a2a2a;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
    color: #2196F3;
}

.action-cell {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.btn-view, .btn-delete {
    background: none;
    border: 1px solid;
    font-size: 0.85em;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
}

.btn-view {
    color: #2196F3;
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
}

.btn-view:hover {
    background: #2196F3;
    color: #fff;
}

.btn-delete {
    color: #F44336;
    border-color: #F44336;
    background: rgba(244, 67, 54, 0.05);
}

.btn-delete:hover {
    background: #F44336;
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-link {
    padding: 8px 12px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #C4A66B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: #C4A66B;
    background: rgba(196, 166, 107, 0.1);
}

.page-link.active {
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
    color: #0a0a0a;
    border-color: #D4AF37;
}

.page-ellipsis {
    padding: 8px 12px;
    color: #888;
}

/* Detail Page */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-section {
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #3a3a3a;
}

.detail-section.full-width {
    grid-column: 1 / -1;
}

.detail-section h3 {
    color: #D4AF37;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(196, 166, 107, 0.2);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #888;
    font-weight: 500;
}

.detail-value {
    color: #E0E0E0;
    text-align: right;
    max-width: 60%;
}

.detail-value.small {
    font-size: 0.85em;
    word-break: break-all;
}

.detail-value.highlight {
    color: #D4AF37;
    font-weight: 700;
}

.detail-textarea {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    color: #E0E0E0;
    min-height: 100px;
    white-space: pre-wrap;
}

.info-text {
    color: #888;
    font-size: 0.85em;
    margin-top: 15px;
    font-style: italic;
}

.detail-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-delete-large {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete-large:hover {
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
    transform: translateY(-2px);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

th, td {
    border: 1px solid #3a3a3a;
    padding: 14px;
    text-align: left;
    white-space: nowrap;
}

thead {
    background: linear-gradient(135deg, #2a2a2a 0%, #2f2f2f 100%);
}

th {
    color: #D4AF37;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:nth-child(even) {
    background-color: #252525;
}

tbody tr:hover {
    background-color: rgba(196, 166, 107, 0.1);
}

/* Success Page Styles */
.success-container {
    text-align: center;
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    margin: 0 auto 30px;
    animation: scaleIn 0.6s ease-out 0.3s backwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg {
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.success-title {
    color: #D4AF37;
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out 0.5s backwards;
}

.success-message {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(196, 166, 107, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(196, 166, 107, 0.3);
}

.success-message p {
    margin: 15px 0;
    color: #E0E0E0;
    font-size: 1.1em;
}

.success-subtitle {
    color: #C4A66B !important;
    font-weight: 500;
}

.success-info {
    font-size: 0.95em !important;
    color: #B0B0B0 !important;
}

.success-details {
    margin: 40px 0;
    text-align: left;
}

.success-details h3 {
    color: #D4AF37;
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: center;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    border-left: 3px solid #D4AF37;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(42, 42, 42, 0.8);
    transform: translateX(5px);
}

.timeline-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.timeline-content h4 {
    color: #C4A66B;
    margin: 0 0 8px 0;
    font-size: 1.1em;
}

.timeline-content p {
    color: #B0B0B0;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1em;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #C4A66B 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(196, 166, 107, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E5C047 0%, #D4AF37 100%);
    box-shadow: 0 6px 25px rgba(196, 166, 107, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #C4A66B;
    border: 2px solid #C4A66B;
}

.btn-secondary:hover {
    background: rgba(196, 166, 107, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
    transform: translateY(-2px);
}

.success-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(196, 166, 107, 0.2);
}

.success-footer p {
    color: #888;
    font-size: 0.9em;
}

.success-footer a {
    color: #C4A66B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.success-footer a:hover {
    color: #D4AF37;
    text-decoration: underline;
}

/* Analytics Page Styles */
.analytics-section {
    background: rgba(42, 42, 42, 0.5);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #3a3a3a;
}

.analytics-section h2 {
    color: #D4AF37;
    margin-top: 0;
    margin-bottom: 20px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    border-color: #C4A66B;
    transform: translateY(-2px);
}

.analytics-label {
    color: #C4A66B;
    font-weight: 600;
    margin-bottom: 10px;
}

.analytics-value {
    font-size: 2em;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 10px;
}

.analytics-bar {
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.analytics-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #C4A66B 0%, #D4AF37 100%);
    transition: width 0.5s ease;
}

.analytics-percent {
    color: #888;
    font-size: 0.9em;
}

/* Timeline Chart */
.timeline-chart {
    margin-top: 20px;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 300px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 10px;
    gap: 4px;
}

.chart-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.chart-bar {
    width: 100%;
    background: linear-gradient(180deg, #D4AF37 0%, #C4A66B 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.chart-bar:hover {
    background: linear-gradient(180deg, #E5C047 0%, #D4AF37 100%);
}

.chart-value {
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.75em;
    padding: 4px;
}

.chart-label {
    color: #888;
    font-size: 0.7em;
    margin-top: 8px;
    text-align: center;
    transform: rotate(-45deg);
    transform-origin: center;
}

.no-data {
    text-align: center;
    color: #888;
    padding: 40px;
    font-style: italic;
}

/* Summary Cards */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: #C4A66B;
    transform: translateY(-2px);
}

.summary-icon {
    font-size: 2.5em;
}

.summary-content {
    flex: 1;
}

.summary-title {
    color: #888;
    font-size: 0.85em;
    margin-bottom: 5px;
}

.summary-value {
    color: #D4AF37;
    font-size: 1.8em;
    font-weight: 700;
}

.analytics-footer {
    text-align: center;
    padding: 20px;
    color: #888;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 25px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    .success-title {
        font-size: 2em;
    }
    
    .radio-group-vip {
        flex-direction: column;
    }
    
    .radio-group-vip label {
        min-width: auto;
    }
    
    .vip-table-wrapper {
        padding: 10px;
    }
    
    .vip-table thead th {
        font-size: 0.85em;
        padding: 12px 8px;
    }
    
    .vip-table td {
        padding: 12px 8px;
        font-size: 0.9em;
    }
    
    .vip-table td.vip-threshold {
        font-size: 0.85em;
    }
    
    .vip-badge-small {
        padding: 4px 10px;
        font-size: 0.85em;
    }
    
    .language-switcher a {
        margin: 0 4px;
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
}
