﻿/**
 * Tambola Application Styles
 * Clean, modern UI for the Tambola Event Management System
 */

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-color: #1e293b;
    --text-muted: #64748b;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

/* ==================== Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header ==================== */
.main-header {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-header nav a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.main-header nav a:hover {
    opacity: 1;
}

.logout-link {
    margin-left: 15px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    opacity: 1 !important;
}

.logout-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* ==================== Footer ==================== */
.main-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #5b6370;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== Cards & Containers ==================== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 20px;
}

/* ==================== Dashboard ==================== */
.dashboard {
    padding: 30px 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h2 {
    font-size: 1.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

/* Specific Card Styles with different top-border colors */
.stat-card-tickets::before { background: #6366f1; }
.stat-card-sold::before { background: #8b5cf6; }
.stat-card-participants::before { background: #06b6d4; }
.stat-card-fee::before { background: #10b981; }
.stat-card-draft::before { background: var(--secondary-color); }
.stat-card-registration::before { background: var(--info-color); }
.stat-card-live::before { background: var(--success-color); }
.stat-card-completed::before { background: var(--text-muted); }

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-draft .stat-number { color: var(--secondary-color); }
.stat-registration .stat-number { color: var(--info-color); }
.stat-live .stat-number { color: var(--success-color); }
.stat-completed .stat-number { color: var(--text-muted); }

/* ==================== Data Tables ==================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tr:hover {
    background: #f8fafc;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* ==================== Status Badges ==================== */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-draft {
    background: #f1f5f9;
    color: var(--secondary-color);
}

.status-registration_open {
    background: #dbeafe;
    color: var(--info-color);
}

.status-live {
    background: #d1fae5;
    color: var(--success-color);
}

.status-completed {
    background: #f3f4f6;
    color: var(--text-muted);
}

/* ==================== Forms ==================== */
.form-container {
    max-width: 800px;
    margin: 30px auto;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    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: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.help-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

/* Prize Rows */
.prize-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.prize-row input,
.prize-row select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* Inline Form */
.inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.inline-form input,
.inline-form select {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

/* ==================== Event Details ==================== */
.event-details {
    padding: 30px 0;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.event-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.event-description {
    color: var(--text-muted);
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.reg-link-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.reg-link-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.reg-link-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reg-link-input {
    flex: 1;
    min-width: 300px;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-family: monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.reg-link-input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.participant-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    flex-grow: 1;
}

.participant-link input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 13px;
}

.info-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.info-section h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.info-table {
    width: 100%;
}

.info-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.danger-zone {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 30px;
}

.danger-zone h3 {
    color: var(--danger-color);
    margin-bottom: 10px;
}

/* ==================== Game Control ==================== */
.game-control-page {
    padding: 20px 0;
}

.game-header .container {
    flex-wrap: wrap;
    gap: 15px;
}

.game-info {
    margin-bottom: 20px;
}

.game-info h2 {
    margin-bottom: 10px;
}

.game-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.game-stats .stat {
    background: var(--card-bg);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.game-status {
    font-weight: 600;
}

/* Last Number Display */
.last-number-display {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.last-number-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.last-number {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
}

.last-number.pop {
    animation: pop 0.3s ease-out;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Game Controls */
.game-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Number Board */
.number-board-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.number-board-container h3 {
    margin-bottom: 15px;
}

.number-board {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
}

.number-board.compact {
    grid-template-columns: repeat(15, 1fr);
    gap: 4px;
}

.board-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.board-number:hover {
    background: #e2e8f0;
}

.board-number.called {
    background: var(--success-color);
    color: white;
}

/* Called History */
.called-history {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.called-numbers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.called-numbers-list.compact {
    gap: 4px;
}

.called-num {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Prize Status */
.prize-status-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.prize-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.prize-card {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 15px;
    border: 2px solid var(--border-color);
}

.prize-card.complete {
    border-color: var(--success-color);
    background: #f0fdf4;
}

.prize-card .prize-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.prize-card .prize-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.prize-card .prize-winners {
    margin: 10px 0;
    font-size: 1.25rem;
}

.prize-card .badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.prize-card .badge.open {
    background: #dbeafe;
    color: var(--info-color);
}

.prize-card .badge.complete {
    background: #d1fae5;
    color: var(--success-color);
}

.quick-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* ==================== Inline Editing ==================== */
.amount-edit {
    display: flex;
    align-items: center;
    gap: 4px;
}

.inline-edit-input {
    width: 100px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
}

.inline-edit-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
    background: #fff;
}

.inline-edit-input:hover {
    border-color: var(--secondary-color);
}

/* ==================== Ticket Display ==================== */
.ticket-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.ticket-table td {
    width: 11.11%;
    aspect-ratio: 1;
    border: 2px solid #cbd5e1;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    background: white;
}

.ticket-table td.has-number {
    background: #fef3c7;
    color: #92400e;
}

.ticket-table td.empty {
    background: #f1f5f9;
}

.ticket-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.875rem;
}

/* ==================== Modal ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-btn:hover {
    color: var(--text-color);
}

/* ==================== Loading Overlay ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==================== Participant Pages ==================== */
.event-landing {
    max-width: 600px;
    margin: 40px auto;
}

.event-banner {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.event-banner h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.event-banner .event-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-status-display {
    margin-top: 15px;
}

.auth-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: #f1f5f9;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.message-box {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

/* ==================== Player Game Page ==================== */
.game-page {
    background: #0f172a;
    min-height: 100vh;
    color: white;
}

.game-page .main-header {
    background: rgba(0, 0, 0, 0.3);
}

.game-header .player-info {
    display: flex;
    gap: 15px;
}

.game-header .player-name,
.game-header .ticket-number {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.game-layout {
    padding: 20px;
}

.game-status-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.game-status-bar .status-item {
    text-align: center;
}

.game-status-bar .label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.game-status-bar .value {
    font-weight: 600;
    font-size: 1.125rem;
}

.game-status-bar .value.big {
    font-size: 2rem;
    color: var(--success-color);
}

.game-status-bar .last-called {
    flex-grow: 1;
    text-align: right;
}

/* Player Ticket */
.your-ticket-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.your-ticket-section h3 {
    margin-bottom: 15px;
}

.tambola-ticket {
    background: white;
    border-radius: var(--radius-md);
    padding: 15px;
    max-width: 500px;
}

.ticket-grid {
    width: 100%;
    border-collapse: collapse;
}

.ticket-cell {
    width: 11.11%;
    aspect-ratio: 1;
    border: 1px solid #cbd5e1;
    text-align: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #1e293b;
    transition: all 0.2s;
    cursor: pointer;
    user-select: none;
}

.ticket-cell.has-number {
    background: #fef3c7;
    color: #92400e;
}

.ticket-cell.empty {
    background: #e2e8f0;
}

.ticket-cell.marked {
    background: var(--success-color) !important;
    color: white !important;
    border-color: #059669;
}

.ticket-cell.just-marked {
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.ticket-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 10px;
}

/* Claim Section */
.claim-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.claim-section h3 {
    margin-bottom: 10px;
}

.claim-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.prize-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.btn-claim {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-claim:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-claim.disabled {
    background: #475569;
    cursor: not-allowed;
}

.btn-claim .prize-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.btn-claim .prize-status {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Number Board (Player) */
.number-board-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.number-board-section h3 {
    margin-bottom: 15px;
}

.game-page .board-number {
    background: #ffffff;
    color: #2d3748;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: default;
    border: 1px solid #e2e8f0;
}

.game-page .board-number.called {
    background: #10b981 !important;
    color: white !important;
    border-color: #059669 !important;
}

.game-page .board-number.called {
    background: var(--success-color);
}

/* Called History (Player) */
.called-history-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.called-history-section h3 {
    margin-bottom: 15px;
}

/* Winner Modal */
.winner-modal {
    text-align: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.winner-modal h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.toast-info {
    background: var(--info-color);
}

.toast-success {
    background: var(--success-color);
}

.toast-warning {
    background: var(--warning-color);
}

.toast.fade-out {
    animation: fadeOut 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Notification (Admin) */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 15px 30px;
    border-radius: var(--radius-md);
    z-index: 3000;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Winners List */
.winners-row {
    background: #f0fdf4;
}

.winners-list {
    padding: 10px;
}

.winner-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin: 2px;
    font-size: 0.875rem;
}

.winner-summary {
    margin-top: 30px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.summary-card {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.summary-card.complete {
    border-color: var(--success-color);
    background: #f0fdf4;
}

.summary-card .prize-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.summary-card .prize-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Error Page */
.error-page {
    text-align: center;
    padding: 60px 20px;
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.error-message {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .prize-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .number-board {
        grid-template-columns: repeat(9, 1fr);
    }
    
    .number-board.compact {
        grid-template-columns: repeat(10, 1fr);
    }
    
    .ticket-cell {
        font-size: 1rem;
    }
    
    .last-number {
        font-size: 3rem;
    }
    
    .game-controls {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .number-board {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ==================== Excel Upload Styles ==================== */
.upload-section {
    margin: 30px 0;
}

.upload-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 0;
    margin: 0;
}

.collapsible-header h3 {
    margin: 0;
    color: var(--text-color);
    flex: 1;
    transition: color 0.2s;
}

.collapsible-header:hover h3 {
    color: var(--primary-color);
}

.collapse-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    display: inline-block;
    min-width: 24px;
    text-align: center;
}

.collapsible-content {
    margin-top: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.collapsible-content > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.upload-instructions {
    background: #f0f9ff;
    border-left: 4px solid var(--info-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
}

.upload-instructions h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.upload-instructions ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.upload-instructions li {
    margin-bottom: 5px;
    color: var(--text-color);
}

.upload-instructions strong {
    color: var(--text-color);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.file-label {
    font-weight: 500;
    color: var(--text-color);
    min-width: 200px;
}

#excelFile {
    flex: 1;
    min-width: 150px;
}

#fileName {
    color: var(--text-muted);
    font-style: italic;
    padding: 5px 10px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    min-width: 150px;
}

.upload-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-color);
}

.result-success {
    color: var(--success-color);
}

.result-success h4 {
    color: var(--success-color);
    margin-bottom: 10px;
}

.result-error {
    color: var(--danger-color);
}

.result-error h4 {
    color: var(--danger-color);
    margin-bottom: 10px;
}

.participant-list {
    margin-top: 15px;
    display: grid;
    gap: 8px;
}

.participant-item {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 10px;
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    align-items: center;
}

.error-list {
    margin-left: 20px;
    margin-top: 10px;
}

.error-list li {
    margin-bottom: 5px;
    color: var(--danger-color);
}

/* ==================== Game Page Features ==================== */

/* Countdown Timer */
.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Number Board Animation */
@keyframes pulse-number {
    0% {
        transform: scale(1);
        box-shadow: none;
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: none;
    }
}

.board-number.new-called {
    animation: pulse-number 0.6s ease-out;
}

/* Comments Section */
.comments-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-section h3 {
    margin-bottom: 15px;
    color: white;
}

.comments-container {
    display: flex;
    flex-direction: column;
    height: 250px;
    gap: 10px;
}

.comments-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
}

.comment {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    font-size: 0.875rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-text {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 3px;
    word-wrap: break-word;
}

.comment-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

.comment-input-group {
    display: flex;
    gap: 8px;
}

#commentInput {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

#commentInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#commentInput:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn-comment {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-comment:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-comment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Ticket Marking Styles */
.ticket-cell {
    cursor: pointer;
    user-select: none;
}

.ticket-cell.user-marked {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
    color: white !important;
    border-color: #6d28d9 !important;
}

.ticket-cell.user-marked.has-number {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success-color);
    color: white;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 4000;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ticket Tabs for Multi-Ticket Support */
.ticket-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-tab {
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.ticket-tab:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.ticket-tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}
/* ==================== Custom Features ==================== */
.checkbox-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 26px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 4px;
}

.help-text-small {
    color: #64748b;
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
}

/* ==================== Custom Buttons ==================== */
.btn-outline-summary {
    background: white;
    color: #7c3aed;
    border: 1px solid #7c3aed;
    font-weight: 600;
}

.btn-outline-summary:hover {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #6d28d9;
}

.btn-dark-grey {
    background: #64748b;
    color: white;
}

.btn-dark-grey:hover {
    background: #475569;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

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

 / *   F o r c e   s i d e - b y - s i d e   l a y o u t   r e g a r d l e s s   o f   o t h e r   s t y l e s   * / 
 . d a s h b o a r d - g r i d   { 
         d i s p l a y :   g r i d   ! i m p o r t a n t ; 
         g r i d - t e m p l a t e - c o l u m n s :   3 5 0 p x   1 f r   ! i m p o r t a n t ; 
         g a p :   2 4 p x   ! i m p o r t a n t ; 
         a l i g n - i t e m s :   s t a r t   ! i m p o r t a n t ; 
 } 
 
 . b t n - l a r g e   { 
         p a d d i n g :   1 2 p x   2 4 p x   ! i m p o r t a n t ; 
         b o r d e r - r a d i u s :   8 p x   ! i m p o r t a n t ; 
         b o x - s h a d o w :   0   2 p x   4 p x   r g b a ( 0 , 0 , 0 , 0 . 1 )   ! i m p o r t a n t ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e   ! i m p o r t a n t ; 
 } 
 
 . b t n - d a r k - g r e y   { 
         b a c k g r o u n d :   # 3 3 4 1 5 5   ! i m p o r t a n t ; 
         c o l o r :   w h i t e   ! i m p o r t a n t ; 
 } 
 
 . b t n - o u t l i n e - s u m m a r y   { 
         b a c k g r o u n d :   # 7 c 3 a e d   ! i m p o r t a n t ; 
         c o l o r :   w h i t e   ! i m p o r t a n t ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 1 2 4 ,   5 8 ,   2 3 7 ,   0 . 3 )   ! i m p o r t a n t ; 
 } 
  
 

 / *   P r e m i u m   D a s h b o a r d   B u t t o n s   R e f i n e m e n t   * / 
 . a c t i o n - b u t t o n s   { 
         d i s p l a y :   f l e x ; 
         f l e x - w r a p :   w r a p ; 
         g a p :   1 4 p x ; 
         m a r g i n :   2 5 p x   0 ; 
 } 
 
 . b t n - l a r g e   { 
         p a d d i n g :   1 2 p x   2 2 p x   ! i m p o r t a n t ; 
         f o n t - s i z e :   1 5 p x   ! i m p o r t a n t ; 
         f o n t - w e i g h t :   6 0 0   ! i m p o r t a n t ; 
         b o r d e r - r a d i u s :   1 2 p x   ! i m p o r t a n t ; 
         d i s p l a y :   f l e x   ! i m p o r t a n t ; 
         a l i g n - i t e m s :   c e n t e r   ! i m p o r t a n t ; 
         g a p :   1 2 p x   ! i m p o r t a n t ; 
         b o r d e r :   n o n e   ! i m p o r t a n t ; 
         c u r s o r :   p o i n t e r   ! i m p o r t a n t ; 
         t r a n s i t i o n :   a l l   0 . 2 5 s   c u b i c - b e z i e r ( 0 . 4 ,   0 ,   0 . 2 ,   1 )   ! i m p o r t a n t ; 
         b o x - s h a d o w :   0   2 p x   4 p x   r g b a ( 0 , 0 , 0 , 0 . 0 5 )   ! i m p o r t a n t ; 
         t e x t - d e c o r a t i o n :   n o n e   ! i m p o r t a n t ; 
 } 
 
 . b t n - d a r k - g r e y   { 
         b a c k g r o u n d :   # 4 7 5 5 6 9   ! i m p o r t a n t ;   / *   S l a t e   6 0 0   * / 
         c o l o r :   w h i t e   ! i m p o r t a n t ; 
 } 
 
 . b t n - d a r k - g r e y : h o v e r   { 
         b a c k g r o u n d :   # 3 3 4 1 5 5   ! i m p o r t a n t ;   / *   S l a t e   7 0 0   * / 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x )   ! i m p o r t a n t ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 7 1 ,   8 5 ,   1 0 5 ,   0 . 2 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - d a r k - g r e y : a c t i v e   { 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - o u t l i n e - s u m m a r y   { 
         b a c k g r o u n d :   # f f f f f f   ! i m p o r t a n t ; 
         c o l o r :   # 7 c 3 a e d   ! i m p o r t a n t ; 
         b o r d e r :   2 p x   s o l i d   # e 9 d 5 f f   ! i m p o r t a n t ; 
         b o x - s h a d o w :   0   2 p x   4 p x   r g b a ( 1 2 4 ,   5 8 ,   2 3 7 ,   0 . 0 5 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - o u t l i n e - s u m m a r y : h o v e r   { 
         b a c k g r o u n d :   # f 5 f 3 f f   ! i m p o r t a n t ; 
         b o r d e r - c o l o r :   # 7 c 3 a e d   ! i m p o r t a n t ; 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x )   ! i m p o r t a n t ; 
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 1 2 4 ,   5 8 ,   2 3 7 ,   0 . 1 5 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - o u t l i n e - s u m m a r y : a c t i v e   { 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 )   ! i m p o r t a n t ; 
 } 
 
 / *   B u t t o n   I c o n   S p a c i n g   * / 
 . b t n - l a r g e   s p a n ,   . b t n - l a r g e   i   { 
         f o n t - s i z e :   1 . 1 r e m ; 
 } 
  
 
 / *   F i n a l   B u t t o n   P o l i s h   * / 
 . b t n - l a r g e   { 
         b o r d e r - r a d i u s :   1 4 p x   ! i m p o r t a n t ; 
         p a d d i n g :   1 4 p x   2 4 p x   ! i m p o r t a n t ; 
         t r a n s i t i o n :   a l l   0 . 2 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,   0 . 8 8 5 ,   0 . 3 2 ,   1 . 2 7 5 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - l a r g e : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 3 p x )   s c a l e ( 1 . 0 2 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - l a r g e : a c t i v e   { 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 )   s c a l e ( 0 . 9 8 )   ! i m p o r t a n t ; 
 } 
 
 . b t n - d a r k - g r e y   { 
         b a c k g r o u n d :   # 1 e 2 9 3 b   ! i m p o r t a n t ;   / *   D e e p e r   S l a t e   * / 
         b o r d e r :   1 p x   s o l i d   # 3 3 4 1 5 5   ! i m p o r t a n t ; 
 } 
 
 . b t n - o u t l i n e - s u m m a r y   { 
         b a c k g r o u n d :   # f d f b f f   ! i m p o r t a n t ; 
         c o l o r :   # 6 3 6 6 f 1   ! i m p o r t a n t ; 
         b o r d e r :   2 p x   s o l i d   # e 0 e 7 f f   ! i m p o r t a n t ; 
 } 
 
 . b t n - o u t l i n e - s u m m a r y : h o v e r   { 
         b a c k g r o u n d :   # e e f 2 f f   ! i m p o r t a n t ; 
         b o r d e r - c o l o r :   # 6 3 6 6 f 1   ! i m p o r t a n t ; 
         c o l o r :   # 4 3 3 8 c a   ! i m p o r t a n t ; 
 } 
  
 
/* ============================================================ */
/* LUXURY DASHBOARD BUTTONS                                     */
/* ==================v1.4====================================== */

.action-buttons {
    display: flex !important;
    gap: 16px !important;
    margin: 30px 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.btn-large {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    white-space: nowrap !important;
}

.btn-large:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.btn-large:active {
    transform: translateY(-1px) !important;
}

/* Dark Grey Buttons - Slate Gradient */
.btn-dark-grey {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
    color: #f8fafc !important;
}

.btn-dark-grey:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
}

/* Summary Button - Luxury Purple Outline */
.btn-outline-summary {
    background: #ffffff !important;
    color: #6366f1 !important;
    border: 2px solid #6366f1 !important;
}

.btn-outline-summary:hover {
    background: #6366f1 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
}

/* Emoji/Icon Styling */
.btn-large i, .btn-large span {
    font-size: 1.25rem !important;
}

/* ============================================================ */
/* ULTRA PREMIUM BUTTONS                                        */
/* ============================================================ */

.btn-premium {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 16px 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 18px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    color: white !important;
}

.btn-premium:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.btn-dark-grey.btn-premium {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

.btn-summary-purple {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
    color: white !important;
}

.btn-summary-purple:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%) !important;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4) !important;
}

