@font-face
{
	font-family: shatterproof;
	src: url(../fonts/AeroviasBrasilNF.ttf);
}

.color-shatterproof {
	color:#0093da;
}

.font-shatterproof {
    font-family: shatterproof;
}

/* ScoreKey Leaderboard Animations and Styles */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-in {
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
}

.entry-card {
    transition: all 0.3s ease;
}

.entry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rank-badge {
    transition: all 0.3s ease;
}

.entry-card:hover .rank-badge {
    transform: rotate(360deg) scale(1.1);
}

/* Fullscreen cursor hiding */
body:fullscreen {
    cursor: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .leaderboard-header h1 {
        font-size: 2rem !important;
    }

    .entry-card {
        padding: 1rem !important;
    }

    .rank-badge {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
}

/* Loading spinner customization */
.spinner-border-custom {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.snackbar-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 250px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.snackbar-toast.bg-red-dark {
    background-color: #DC2626;
}

.snackbar-toast.bg-green-dark {
    background-color: #16A34A;
}

.snackbar-toast.bg-yellow-dark {
    background-color: #EA580C;
}

.snackbar-toast.bg-blue-dark {
    background-color: #2563EB;
}

.snackbar-toast:hover {
    cursor: pointer;
    opacity: 0.9;
}

/* Admin interface improvements */
.admin-interface .card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.admin-interface .card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Client interface improvements */
.client-interface .card {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Leaderboard visual polish */
.leaderboard-display {
    min-height: 100vh;
}

.leaderboard-header {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Entry cards with glassmorphism effect */
.entry-card {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea {
    transition: all 0.2s ease;
}

/* Form improvements */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
    border-color: #4F46E5;
}

/* Badge animations */
.badge {
    transition: all 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* List group improvements */
.list-group-item-action:hover {
    transform: translateX(5px);
    transition: all 0.2s ease;
}

/* Confetti container */
#confettiCanvas {
    pointer-events: none;
}

/* Dark Theme Defaults */
body {
    background-color: #0F172A;
    color: #F1F5F9;
}

/* Admin interface dark theme */
.admin-interface {
    background-color: #0F172A;
    min-height: 100vh;
}

.admin-interface .card {
    background-color: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}

.admin-interface .card-header {
    background-color: #334155;
    border-bottom-color: #475569;
    color: #F1F5F9;
}

.admin-interface .list-group-item {
    background-color: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}

.admin-interface .list-group-item-action:hover {
    background-color: #334155;
}

.admin-interface .table {
    color: #F1F5F9;
}

.admin-interface .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #1E293B;
    color: #F1F5F9;
}

.admin-interface .table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: #0F172A;
    color: #F1F5F9;
}

.admin-interface .table thead th {
    color: #F1F5F9;
    background-color: #334155;
    border-color: #475569;
}

.admin-interface .table td,
.admin-interface .table th {
    border-color: #475569;
}

/* Client interface dark theme */
.client-interface .card {
    background-color: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}

.client-interface .card-header {
    background-color: #334155;
    border-bottom-color: #475569;
    color: #F1F5F9;
}

.client-interface .form-control,
.client-interface .form-select {
    background-color: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}

.client-interface .form-control:focus,
.client-interface .form-select:focus {
    background-color: #1E293B;
    border-color: #6366F1;
    color: #F1F5F9;
}

.client-interface .list-group-item {
    background-color: #1E293B;
    border-color: #334155;
    color: #F1F5F9;
}

/* Dark theme for forms in admin */
.admin-interface .form-control,
.admin-interface .form-select {
    background-color: #0F172A;
    border-color: #334155;
    color: #F1F5F9;
}

.admin-interface .form-control:focus,
.admin-interface .form-select:focus {
    background-color: #1E293B;
    border-color: #6366F1;
    color: #F1F5F9;
}

/* Alert styling for dark theme */
.alert-info {
    background-color: #1E3A5F;
    border-color: #2563EB;
    color: #BFDBFE;
}

.alert-warning {
    background-color: #451A03;
    border-color: #EA580C;
    color: #FED7AA;
}

.alert-danger {
    background-color: #450A0A;
    border-color: #DC2626;
    color: #FECACA;
}

.alert-success {
    background-color: #14532D;
    border-color: #16A34A;
    color: #BBF7D0;
}

/* Container dark theme */
.container, .container-fluid {
    color: #F1F5F9;
}

/* Text muted in dark theme */
.text-muted {
    color: #94A3B8 !important;
}