.btn-primary,
.bg-primary {
    background-color: #cc6666 !important;
    border-color: #cc6666 !important;
}

.btn-outline-red {
    background-color: #fff !important;
    color: #cc6666 !important;
    border-color: #cc6666 !important;
}

.btn-outline-red:hover {
    background-color: #cc6666 !important;
    color: #fff !important;
}

.text-primary {

    color: #cc6666 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

p {
    margin-bottom: 0.8rem;
}

hr {
        margin:  5px;
}

.table {
    table-layout: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-remove {
    line-height: 18px;
    color: white;
    background-color: #bd1515;
}

.btn-remove:hover {
    line-height: 18px;
    color: white;
    background-color: #960d0d;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Dashboard cards */
.dashboard-card {
    transition: transform 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

/* Foto del jugador */
.jugador-foto {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    min-width: 50px;
    min-height: 50px;
}

/* Categorías */
.categoria-card {
    transition: all 0.3s ease;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estado de documentos */
.estado-pendiente {
    background-color: #ffc107;
    color: #212529;
}

.estado-entregado {
    background-color: #198754;
    color: white;
}

.estado-vencido {
    background-color: #dc3545;
    color: white;
}

/* Visualización de documentos */
.doc-preview {
    max-height: 200px;
    max-width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .table {
        font-size: 0.85rem;
    }
}

/* Form styles */
.form-label {
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Navbar styles */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
}

/* Custom switch styling */
.form-switch .form-check-input {
    height: 1.25rem;
    width: 2.5rem;
}

/* Category badges */
.badge-category {
    font-size: 0.875rem;
    padding: 0.35em 0.65em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    display: inline-block;
}

/* Document list */
.doc-list {
    list-style: none;
    padding-left: 0;
}

.doc-list-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Profile image in detail view */
#ver-jugador-foto {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.color-option {
    display: inline-block;
    margin: 10px;
}

.color-option input[type="radio"] {
    display: none;
}

.color-box {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option input[type="radio"]:checked+.color-box {
    border: 3px solid black;
    transform: scale(1.1);
}


.rojo {
    background-color: #df0808;
}

.blanco {
    background-color: #ffffff;
}

.azul {
    background-color: #1A1A9B;
}

.checkbox-grid-3columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;

}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.custom-modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 1rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.custom-modal-body {
    margin: 1rem 0;
}

.custom-modal-footer {
    text-align: right;
}

.close-btn {
    cursor: pointer;
    font-size: 1.5rem;
}

.btn-confirm {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.screen-blocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.table th {
    background-color: #fff;
    line-height: 35px;
}

.table-responsive {
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.progress-cell {
    background-color: #c7e1cd;
    border-radius: 4px;
    overflow: hidden;
    height: 28px;
    position: relative;
}

.progress-bar {
    background-color: #28a745;
    height: 100%;
    color: white;
    text-align: center;
    white-space: nowrap;
    transition: width 0.4s ease;
}

.progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    top: 0;
    left: 0;
    line-height: 28px;
    color: black;
}



.jugadores-disponibles {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
}

.jugadores-disponibles::-webkit-scrollbar {
    width: 6px;
}

.jugadores-disponibles::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.jugadores-disponibles::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 3px;
}

.jugadores-seleccionados,
.jugadores-seleccionados {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
}

.jugadores-seleccionados::-webkit-scrollbar {
    width: 6px;
}

.jugadores-seleccionados::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.jugadores-seleccionados::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 3px;
}

.tabla-jugadores-asistencia {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
}