@tailwind base;
@tailwind components;
@tailwind utilities;

.dark .bg-custom-layout {
    background-color: #121212;
}

.dark .bg-custom-container {
    background-color: #1c1c1c;
}

.bg-custom-modal {
    background-color: rgb(0 0 0 / 0,64) !important;
    backdrop-filter: blur(4px);
}

.custom-wrapper {
    box-shadow: 0px 0px 19px 2px rgba(0,0,0,0.2);
    max-height: fit-content;
}

.scoreboard-container {
    box-shadow: 0px 0px 19px 2px rgba(0,0,0,0.2);
    min-width: 310px;
}

.notStartedMatch {
    background-color: rgb(245 245 245);
    min-height: 100% !important;
}

.completedMatch {
    background-color: rgb(245 245 245);
}

.ongoingMatch {
    background-color: rgb(245 245 245);
    min-height: 100% !important;
}


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/*active navbar page*/
.active {
    color: #3b82f6;
    font-weight: bold;
}

/* player with ative match already */
.hasActiveGame {
    opacity: 0.5;
}

body > div.swal2-container.swal2-center.swal2-backdrop-show > div > div.swal2-actions > button.swal2-confirm.swal2-styled {
    background-color: #2563eb !important;
}



/* Custom styling for SWEETALERT2 */

/* Popup */
.swal2-popup {
    background-color: white;
    color: #1a202c; /* text-gray-900 */
}
.dark .swal2-popup {
    background-color: #2d3748; /* gray-800 */
    color: #edf2f7; /* white */
}

/* Title */
.swal2-title {
    color: #1a202c; /* text-gray-900 */
}
.dark .swal2-title {
    color: #edf2f7; /* white */
}

/* Content */
.swal2-content {
    color: #4a5568; /* text-gray-700 */
}
.dark .swal2-content {
    color: #e2e8f0; /* text-gray-300 */
}

/* Confirm Button */
.swal2-confirm {
    background-color: #4299e1; /* bg-blue-500 */
    color: white;
}
.dark .swal2-confirm {
    background-color: #2b6cb0; /* bg-blue-700 */
    color: white;
}

/* Cancel Button */
.swal2-cancel {
    background-color: #e2e8f0; /* bg-gray-300 */
    color: #2d3748; /* text-gray-800 */
}
.dark .swal2-cancel {
    background-color: #4a5568; /* bg-gray-600 */
 
