.main-content {
    font-size: 14px;
    display: flex;
    margin-left: 230px;
    transition: margin-left 0.3s;
    background-color: #C0C0C0;
}

html {
    padding-top: 0;
    box-sizing: border-box;
    scroll-behavior: none;
    scrollbar-width: thin;
    background: #C0C0C0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
}

body {
    margin: 0;
}

.main-content .container {
    min-width: 100%;
}

@media (min-width: 820px) {
    html {
        font-size: clamp(14px, 1vw + 13px, 15px);
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.55rem #F2E6D8;
}


h1 {
    background-image: linear-gradient(90deg, #a60825a4, #A60825);
    color: black;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    margin: 5px;
    border-radius: 19px;
    box-shadow: 0 15px 15px 1px #a60825b8;
}


.select-menu {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    /* Centrar horizontalmente */
}

.select-menu .select-btn {
    background-image: linear-gradient(45deg, #282b2daf, #282B2D);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.select-menu.active .select-btn i {
    transform: rotate(180deg);
    transition: transform 0.5s;
}

.select-menu .options {
    position: absolute;
    top: calc(90% + 10px);
    visibility: hidden;
    width: 100%;
}

.select-menu.active .options {
    z-index: 10000;
    visibility: visible;
    transition: opacity 0.8s, visibility 0s, transform 0.8s;
    padding: 0;
}

.options .option {
    cursor: pointer;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.472);
    border: #000 1px solid;
    align-items: center;
    border-radius: 16px;
    transition: background-color 0.2s;
    text-align: center;
    list-style: none;
    margin-bottom: 3px; /* separa cada option por 5px */
}


.options .option:hover {
    background-color: #282b2ddb;
    font-weight: bold;
    font-size: 20px;
}

.option:hover i, .option:hover svg {
    transform: scale(1.5);
    transition: transform 0.3s;
    color: #fff;
}

.option .option-text {
    color: #000000;
    font-weight: 500;
}

.option:hover .option-text {
    color: #ffffff;
    font-weight: bold;
}

.option i, .option svg {
    margin-left: 10px;
    color: #000000;
    transition: transform 0.3s, color 0.8s;
}

.pagination-container {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
}

/* PagedList: layout base (compatible con distintas salidas del helper) */
.pagination-container ul,
.pagination-container nav,
.pagination-container .pagination {
    gap: 8px;
    padding: 0;
    margin: 10px;
}

/* Quita bullets por si renderiza <li> */
.pagination-container li {
    list-style: none;
}

/* Links y spans (activo/deshabilitado) */
.pagination-container a,
.pagination-container span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 15px;
    background-image: linear-gradient(45deg, #282b2d9a, #282b2ddb);
    border-radius: 10px;
    color: #9c9ea3;
    /* primario */
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

/* Hover/focus */
.pagination-container a:hover {
    background-image: linear-gradient(45deg, #f2e6d8cd, #F2E6D8);
    color: #000000;
    transform: translateY(-1px);
}

.pagination-container a:focus-visible {
    outline: 2px solid #F2E6D8;
    outline-offset: 2px;
}

/* Activo (página current) */
.pagination-container li.active>a,
.pagination-container li.active>span,
.pagination-container a[aria-current="page"],
.pagination-container span[aria-current="page"] {
    background-image: linear-gradient(45deg, #f2e6d8b0, #f2e6d89e);
    color: #000000;
    cursor: default;
}

/* Deshabilitado (prev/next sin página) */
.pagination-container li.disabled>a,
.pagination-container li.disabled>span {
    opacity: .5;
    pointer-events: none;
}

/* Ajustes para los saltos (primero/último) si existen */
.pagination-container .PagedList-skipToFirst a,
.pagination-container .PagedList-skipToLast a,
.pagination-container .PagedList-skipToPrevious a,
.pagination-container .PagedList-skipToNext a {
    font-weight: 900;
}

/* Mobile: más compacto y oculta primero/último */
@media (max-width: 980px) {

    .pagination-container a,
    .pagination-container span {
        min-width: 44px;
        height: 34px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 16px;
    }

    .pagination-container .PagedList-skipToFirst,
    .pagination-container .PagedList-skipToLast {
        display: none;
    }
}




/*BOTON ELIMINAR*/
.noselect {
    width: 130px;
    height: 40px;
    cursor: pointer;
    display: flex;
    background: red;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    background: #e62222;
    align-items: center;
    margin: auto;
}

.noselect,
.noselect span {
    transition: 200ms;
}

.noselect .a {
    transform: translateX(15px);
    color: white;
    font-weight: bold;
}

.noselect .icon {
    position: absolute;
    border-left: 1px solid #c41b1b;
    transform: translateX(95px);
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noselect svg {
    width: 20px;
    fill: #eee;
}

.noselect:hover {
    background: #ff3636;
}

.noselect:hover .a {
    color: transparent;
}

.noselect:hover .icon {
    width: 120px;
    border-left: none;
    transform: translateX(0);
    transform: scale(1.8);
}

.noselect:focus {
    outline: none;
}

.noselect:active .icon svg {
    transform: scale(1.8);
}



/* Form layout usando flexbox */

.modal-header h1 {
    font-size: 24px;
    font-weight: bold;
    min-width: 100%;
    margin: 0;
    border-radius: 0%;
    color: #000;
}

.modal-header {
    border-bottom: none;
    margin-bottom: 10px;
}


.form__group {
    position: relative;
    margin-bottom: 0.5rem;
    width: calc(50% - 10px);
    /* ancho fijo para 2 por fila */
}

/* Clase para elementos que deben ocupar el ancho completo */
.form__group--full {
    width: 100%;
    flex: 0 0 100%;
}

/* Anular el margen derecho que ya no necesitamos con flexbox */
.form__group:nth-child(odd) {
    margin-right: 0;
}

/* Botones alineados al final */
.form-buttons {
    padding-top: 10px;
    width: 100%;
    gap: 10px;
    text-align: center;
    align-items: center;
}

.form__field {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.622);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    max-height: 50px;
}

.form__field:focus {
    border-color: #F7F0E2;
    box-shadow: 0 0 0 3px #F7F0E2;
    transform: translateY(-2px);
}

.form__label {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    font-size: 1rem;
    color: #064b8f;
    pointer-events: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.66);
    padding: 0 0.5rem;
    border-radius: 4px;
    margin: 0;
}

.form__field:focus+.form__label,
.form__field:not(:placeholder-shown)+.form__label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #064b8f;
    font-weight: 500;
    font-weight: bold;
}
.sel {
    position: relative;
    margin-top: 0.5rem;
}

.sel select {
    width: 100%;
    border-radius: 18px;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.622);
    transition: all 0.3s ease;
    text-align: center;
}

.sel .option {
    padding: 10px;
    font-size: 1rem;
    color: #1c5fa2c3;
    background: #17121265;
    align-items: center;
}

.sel .option:hover {
    background: #090a0c;
    color: #fff;
}

.sel select:focus {
    border-color: #007bff8c;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.sel::after {
    content: "▼";
    font-size: 0.8rem;
    color: #6c757d;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


.Btn, .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #F7F0E2);
    color: rgb(12, 4, 4);
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    max-height: 40px;
}


.Btn:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #F7F0E2, #F7F0E2);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #F7F0E2;
    color: #00000063;
}


.Btn:active, .btn-primary:active {
    transform: translate(3px, 3px);
    transition-duration: .3s;
    box-shadow: 2px 2px 0px rgb(255, 255, 255);
    color: #00000063;
}

.btn-secondary{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-image: linear-gradient(45deg, #282b2d95, #282b2dd0);
    color: #F7F0E2;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    max-height: 40px;
}


.btn-secondary:hover {
    background-image: linear-gradient(45deg, #282b2daf, #282B2D);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #F7F0E2;
}

.btn-secondary:active {
    transform: translate(3px, 3px);
    transition-duration: .3s;
    box-shadow: 2px 2px 0px rgb(255, 255, 255);
}


.btn-success {
        background: linear-gradient(145deg, #282b2da9, #282b2dde);
        color: rgb(255, 255, 255);
        border: none;
        border-radius: 8px;
        padding: 0.9rem 1.5rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 230px;
        align-items: center;
        min-height: 55px;
}

.swal2-confirm, .swal2-cancel {
    background: linear-gradient(145deg, #0084dca9, #0084dca9);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.swal2-confirm:hover {
    background: linear-gradient(90deg, #5e8c03a0, #2c8c03a0);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #0a8c0380;
    font-size: 1.1rem;
}

.swal2-cancel:hover{
    background: linear-gradient(90deg, #d904049d, #D90404);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #D90404;
    font-size: 1.1rem;
}
.swal2-modal {
    background: #c0c0c0c8;
}   
.btn-success:hover {
    background: linear-gradient(90deg, #038c4ca0, #038c4ccb);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #038C4C;
    font-size: 1.1rem;
}

.btn-success:active {
    transform: translate(3px, 3px);
    transition-duration: .3s;
    font-size: 1rem;
}

.btn-danger {
    background: linear-gradient(145deg, #282b2da9, #282b2dde);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 230px;
    align-items: center;
    min-height: 55px;
}

.btn-danger:hover {
    background: linear-gradient(90deg, #d904049d, #D90404);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px #D90404;
    font-size: 1.1rem;
}

.btn-danger:active {
    transform: translate(3px, 3px);
    transition-duration: .3s;
    font-size: 1rem;
}

.btn-success i, .btn-danger i {
    margin-right: 5px;
}

.btn-success:hover i, .btn-danger:hover i {
    font-size: 1.5rem;
    color: #000;
    transition: font-size 0.3s, color 0.8s;
}

.modal-dialog .modal-content {
    background: #c0c0c0c8;
}




#LoginRegisterModal .modal-dialog{
    z-index: 1000;
}


/* From Uiverse.io by alexruix */ 
#LoginRegisterModal .main {
  background: linear-gradient(45deg, #ffffff, #282b2dde);
  max-height: 550px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 7px 7px 10px 3px #07020c28;
}

#LoginRegisterModal .form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

/*checkbox to switch from sign up to login*/
#LoginRegisterModal #chk {
  display: none;
}

/*Login*/
#LoginRegisterModal .login {
  position: relative;
  width: 100%;
  height: 100%;
}

#LoginRegisterModal .login label {
  margin: 25% 0 5%;
}

#LoginRegisterModal label {
  color: #000000;
  font-size: 2rem;
  justify-content: center;
  display: flex;
  font-weight: bold;
  cursor: pointer;
  transition: .5s ease-in-out;
}

#LoginRegisterModal .input {
  width: 100%;
  height: 40px;
  background: rgba(224, 222, 222, 0.349);
  padding: 10px;
  border-radius: 4px;
}

/*Register*/
#LoginRegisterModal .register {
  background: linear-gradient(45deg, #ffffff, #282b2dde);
  border-radius: 60% / 10%;
  transform: translateY(1%);
  transition: .8s ease-in-out;
}

#LoginRegisterModal .register label {
  color: #000000;
  transform: scale(.6);
}

#LoginRegisterModal #chk:checked ~ .register {
  transform: translateY(-60%);
}

#LoginRegisterModal #chk:checked ~ .register label {
  transform: scale(1);
  margin: 10% 0 5%;
  
}

#LoginRegisterModal #chk:checked ~ .login label {
  transform: scale(.6);
  margin: 5% 0 5%;
  background-color: #000000a8;
  border-radius: 10%;
  border: 3px solid #e9ecef;
}   
/*Button*/
#LoginRegisterModal .form button {
  width: 85%;
  height: 40px;
  margin: 12px auto 10%;
  color: #000000;
  background: #F7F0E2;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: .2s ease-in;
}

#LoginRegisterModal .form button:hover {
  background-color: #F7F0E2;
  font-size: 20px;
}