﻿.modal-dialog-centered-custom {
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content-centered-custom {
	width: 90vw;
}

@media (max-width: 768px) {
	.modal-content-centered-custom {
		width: 90vw;
		max-width: none;
	}
}
			
.no-border:focus,
.no-border:active {
	outline: none !important;
	box-shadow: none !important;
}

.no-border:hover {
	color: #fff !important;
	background-color: #6c757d !important;
	border-color: #6c757d !important;
}

.container-grid-3
{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 10px;				
}
.item-grid-3 
{
	padding: 20px
}


/* SOLO este modal */
.modal.modal-suscription {
  text-align: center;
}

/* Truco de centrado vertical */
.modal.modal-suscription:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

/* Modal centrado */
.modal.modal-suscription .modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;

  /* Responsive size */
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
}

/* 🔹 ALTURA RESPONSIVA */
.modal.modal-suscription .modal-content {
  height: 80vh;        /* ocupa 80% del alto de la pantalla */
  max-height: 500px;  /* límite máximo */
}

.modal.modal-suscription .modal-body {
  overflow-y: auto;   /* scroll si el contenido crece */
}

.btn-suscription {
  white-space: normal;     /* permite saltos de línea */
  text-align: center;
  line-height: 1.3;
  padding: 12px 16px;
  font-size: clamp(13px, 2.2vw, 16px);
}

/* Desktop */
@media (min-width: 992px) {
  .modal.modal-suscription .modal-dialog {
    max-width: 600px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .modal.modal-suscription .modal-dialog {
    width: 95%;
  }
}


/* Cambiar a 2 columnas en pantallas medianas */
@media (max-width: 600px) {
	.container-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Cambiar a 1 columna en pantallas pequeñas */
@media (max-width: 400px) {
	.container-grid-3 {
		grid-template-columns: repeat(1, 1fr);
	}
	.item-grid-3 
	{
		margin:0 auto;
	}
}

.suscription-box {
    border: 1px solid #DCDCDC;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    max-width: 1000px;
    background-color: #fff;
    font-family: Arial, sans-serif;
    margin: 0 auto;
}

.suscription-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #222;
	margin-bottom: 24px; 
}

/* Lista con check */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #28A745;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    font-weight: bold;
}

/* Espaciado mobile */
.suscription-btn {
    margin-top: 15px;
}

/* Desktop */
@media (min-width: 768px) {
    .suscription-btn {
        text-align: right;
        margin-top: 0;
    }
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid #337ab7; /* color bootstrap */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

