/* Custom styles for FortuneTeller */

.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    border-bottom: 1px solid var(--bs-border-color);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.alert {
    border-radius: 8px;
}

.btn {
    border-radius: 6px;
}

.form-control, .form-select {
    border-radius: 6px;
}

/* Rating sliders */
.form-range {
    height: 6px;
}

.form-range::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 2px solid var(--bs-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-range::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 2px solid var(--bs-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Video embeds */
.ratio iframe {
    border-radius: 8px;
}

/* Leaderboard styling */
.table th {
    border-top: none;
    font-weight: 600;
}

.table-primary {
    --bs-table-accent-bg: var(--bs-primary-bg-subtle);
}

/* Status badges */
.badge {
    font-size: 0.75rem;
}

/* Dashboard tabs */
.nav-tabs .nav-link {
    border-radius: 8px 8px 0 0;
    margin-right: 4px;
}

.nav-tabs .nav-link.active {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    border-bottom-color: var(--bs-body-bg);
}

/* Character counter */
.form-text {
    font-size: 0.875rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 0.25rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .d-flex.gap-2 .btn {
        margin-bottom: 0.5rem;
    }
}

/* Score display */
.bg-light {
    background-color: var(--bs-gray-100) !important;
}

/* Event stats cards */
.card.text-center h3 {
    margin-bottom: 0.5rem;
}

.card.text-center p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--bs-text-muted);
}

/* Flash message improvements */
.alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
}

/* Form improvements */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Custom button hover effects */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

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

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Table improvements */
.table-responsive {
    border-radius: 8px;
}

.table td, .table th {
    vertical-align: middle;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-gray-200);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-gray-500);
}
