/* Global Styles */
body {
    background-color: #F3F4F6;
    color: #1F2937;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #BFDBFE;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #60A5FA;
}

/* Glassmorphism Panel */
/* Clean/FIFA Style Panel */
.glass-panel {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    /* Gray-200 */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    /* Shadow-sm */
    border-radius: 0.75rem;
    /* Rounded-xl */
}

/* Number Inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pop-in {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Locked State */
.match-locked {
    opacity: 0.8;
    background-color: #F9FAFB;
    pointer-events: none;
    position: relative;
    filter: blur(0.5px);
}

.match-locked input {
    background-color: #E5E7EB;
    color: #9CA3AF;
}

/* Lock Icon Positioning */
.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6B7280;
    font-size: 2rem;
    opacity: 0.4;
    z-index: 20;
    pointer-events: none;
}

/* Penalty Inputs */
.penalty-input {
    background-color: #FEF3C7;
    /* Yellow-100 */
    border-color: #F59E0B;
    /* Amber-500 */
    color: #B45309;
    /* Amber-700 */
    font-size: 0.65rem;
    height: 1.2rem;
    width: 1.5rem;
}

/* Home Screen Styles */
#home-screen {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}