/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.custom-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-transform: none;
  margin-top: 10px;
  align-items: center;
}

.centered-text {
  text-align: center !important;
}


.custom-heading-elements {
  display: flex;
  align-items: center;
  /* Centra el botón verticalmente */
  margin-top: 15px;
  /* Espacio superior solo para el botón */
  margin-left: 15px;
}

.custom-heading-elements .btn {
  margin-left: 20px;
  /* Elimina márgenes adicionales */

}


.card {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  /* Evita que la tarjeta se desborde hacia la izquierda o derecha */
}

/* Estilo general: Alinear controles a la izquierda */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  text-align: left !important;
  /* Asegura alineación a la izquierda */
  float: none !important;
  /* Elimina float de Bootstrap si lo hay */
  width: 100%;
  /* Asegura que los controles ocupen todo el ancho */
  margin-bottom: 10px;
  /* Añade separación entre "Mostrar" y "Buscar" */
}

.dataTables_length label,
.dataTables_filter label {
  display: flex;
  align-items: center;
  text-align: left;
}

/* Ajustar el diseño para pantallas pequeñas */
@media (max-width: 768px) {

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    display: block !important;
    /* Alinea verticalmente los controles */
    text-align: left !important;
    /* Mantiene la alineación a la izquierda */
    width: 100%;
    /* Asegura que ocupen el ancho completo */
  }

  .dataTables_wrapper .dataTables_length select,
  .dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
    /* Ajusta el selector y campo de búsqueda al ancho completo */
  }

  .dataTables_wrapper .dataTables_filter input {
    margin-top: 5px;
    /* Añade un poco de espacio entre el texto y el input */
  }
}

/* Estilo adicional para la tabla */
.card-body {
  padding-left: 15px;
  padding-right: 15px;
}

/* Ajustar el diseño para pantallas medianas */
@media (min-width: 769px) and (max-width: 1024px) {

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    display: inline-block !important;
    /* Coloca los controles en línea */
    width: auto;
    /* Ajusta el ancho automáticamente */
    margin-right: 20px;
    /* Añade separación entre ambos */
  }

  .dataTables_wrapper .dataTables_length select,
  .dataTables_wrapper .dataTables_filter input {
    width: auto;
    /* Mantén un ancho automático */
  }
}

.btn-primary {
  background-color: #1B2846 !important;
  color: #fff !important;
  background-color: #1A2846 !important;
  border-color: #1A2846 !important;
  box-shadow: none !important;
  height: auto;
}

.login-backgorund {
  background-color: #1B2846;
}

.btn-primary-reverse {
  background-color: #5FC5EC !important;
  color: white !important;
  border-color: white !important;
}

.btn-primary-reverse:hover {
  background-color: white !important;
  color: #5FC5EC !important;
}

.form-control-reverse {
  border: 1px solid #ccd6e6 !important;
  color: white !important;
}

.form-control-lg {
  height: calc(3.5625rem + 2px);
  padding: 1rem 1.25rem;
  font-size: 1.25rem;
  line-height: 1.25;
  border-radius: 0.27rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 900 !important;
}

.submit-row a.deletelink {
  display: inline !important;
  background: #ba2121 !important;
  border-radius: 4px !important;
  padding-top: 20px;
  /* height: 15px; */
  line-height: 15px !important;
  color: #fff !important;
}

.submit-row a.deletelink {
  display: block;
  background: #ba2121;
  border-radius: 4px;
  padding: 10px 15px;
  /* height: 15px; */
  line-height: 15px;
  color: #fff;
  margin-top: 10px;
}

.montserrat-bold {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: bold !important;
}

.montserrat-semi {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* General - Alinear todas las celdas */
.table td {
  padding: 10px;
  vertical-align: middle;
}

/* Primera columna (Franchise) */
.franchise-cell {
  text-align: left;
  width: 25%;
  /* Ajuste de ancho específico */
}

/* Ajustar imagen y texto en la columna Franchise */
.method-image {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.method-name {
  white-space: nowrap;
}

/* Centrar contenido en las columnas de transacciones y canal */
.transactions-cell,
.channel-cell {
  text-align: center;
}

/* Columna % Participation - alinear porcentaje y barra */
.participation-cell {
  text-align: center;
}

.participation-value {
  font-weight: bold;
  margin-bottom: 3px;
}

/* Barra de progreso */
.progress-bar {
  height: 8px;
  border-radius: 4px;
}

#parking-revenue-list {
  padding: 20px;
  /* Relleno general para el contenedor */
  background-color: #f8f9fa;
  /* Fondo suave */
  border-radius: 10px;
  /* Bordes redondeados */
  border: 1px solid #ddd;
  /* Borde ligero */
}

.headquarter-item {
  margin-bottom: 20px;
  /* Espacio entre sedes */
  padding: 15px;
  /* Relleno interno para cada sede */
  background-color: #ffffff;
  /* Fondo blanco para contraste */
  border-radius: 8px;
  /* Bordes redondeados */
  border: 1px solid #e0e0e0;
  /* Borde suave */
}

.headquarter-item h5 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  /* Espacio debajo del título */
  color: #333;
}

.headquarter-item .d-flex {
  padding: 5px 0;
  /* Espacio arriba y abajo de cada parqueadero */
}

.progress {
  height: 8px;
  /* Altura de la barra de progreso */
  border-radius: 4px;
  /* Bordes redondeados en la barra */
  overflow: hidden;
  background-color: #e9ecef;
}

.progress-bar {
  transition: width 0.6s ease;
  /* Animación suave al cambiar de tamaño */
}

.popup-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.popup-content .address {
  font-style: italic;
  color: #555;
}

.stat-percentage {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 0.9rem;
  z-index: 1;
}

.card-icon {
  width: 40px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-amount h3 {
  font-family: 'Montserrat', sans-serif;
}

.body-header-title {
  font-size: 1.25rem;
}

.body-header-subtitle {
  font-size: 0.85rem;
}

.position-relative {
  position: relative;
}

.top-right {
  top: 0;
  right: 0;
  padding: 5px;
  /* Opcional, para espacio del borde */
  font-size: 0.9rem;
}

/* Aplica Montserrat Bold a los botones del daterangepicker */
/* Aplica Montserrat Bold a todos los elementos dentro del daterangepicker */
.daterangepicker {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: bold !important;
}

/* Opcional: Ajustes específicos para mejorar el diseño */
.daterangepicker .calendar-table,
.daterangepicker .drp-calendar,
.daterangepicker .ranges,
.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td,
.daterangepicker .daterangepicker_input input {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: bold !important;
  font-size: 14px;
  /* Ajusta el tamaño de fuente si es necesario */
}


/* Solo aplica en dispositivos móviles en modo horizontal */
@media (max-width: 768px) and (orientation: landscape) {
  .col-xl-8.col-lg-8.col-md-12 {
    flex: 0 0 100% !important;
    /* Ocupar todo el ancho */
    max-width: 100% !important;
  }

  .height-250 {
    height: 300px !important;
    /* Ajusta la altura de la gráfica para ocupar más espacio */
  }

  .card-content {
    padding: 5px !important;
    /* Ajuste de padding para aprovechar mejor el espacio */
  }
}

#revenue_per_month text,
.morris-hover {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}

/* Contenedor de la gráfica */
.statistics-chart {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  /* Espacio entre la gráfica y la leyenda */
}

/* Contenedor principal de la gráfica */
.statistics-chart-wrapper {
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
  /* Espacio entre la gráfica y la leyenda */
  padding-bottom: 20px;
  /* Espacio adicional debajo de la gráfica */
}

.statistics-chart-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  /* Máximo ancho en pantallas grandes */
  margin: 0 auto;
  /* Centrarse en escritorio */
  padding: 20px;
  /* Espacio adicional alrededor de la gráfica */
  padding-top: 50px;
  /* Aumenta la distancia desde la parte superior */
}

#vehicles_logs_donut {
  width: 100%;
  max-width: 100%;
  /* La gráfica ocupará todo el ancho del contenedor */
}

.apexcharts-xaxis-label {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  /* SemiBold */
  font-size: 12px !important;
  /* Tamaño ajustable */
}

/* Aplica la fuente Montserrat SemiBold a las etiquetas de Morris */
.apexcharts-datalabel-label,
.apexcharts-datalabel-value,
.apexcharts-tooltip-text {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  /* SemiBold */
}

/* Si quieres aplicarlo a otros textos dentro de la gráfica */
.apexcharts-texts,
.apexcharts-legend-text {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  /* SemiBold */
}

.statistics-chart {
  padding-top: 50px;
  /* Aumenta el espacio desde la parte superior */
  padding-bottom: 50px;
  /* Aumenta el espacio desde la parte inferior */
}

/* Ajustar márgenes y padding de la gráfica */
#donut-sales-by-parkings {
  margin-bottom: 5px;
  /* Reducir el margen entre la gráfica y el contenido */
}

.statistics-chart {
  margin-bottom: 5px !important;
  /* Ajusta el margen inferior de la gráfica */
  padding-bottom: 0px !important;
  display: block;
  /* Elimina cualquier padding extra */
}

/* Ajustar el margen superior de los ingresos */
#parking-revenue-list {
  margin-bottom: 5px;
  /* Reduce el espacio entre los elementos de la lista */
  padding-bottom: 5px;
  /* Reduce el relleno entre los elementos */
}

/* Contenedor de filtros */
#filter-container {
  display: flex;
  flex-wrap: wrap;
  /* Permite apilar los filtros si es necesario */
  gap: 15px;
  /* Espaciado uniforme */
  justify-content: flex-start;
  /* Los elementos se alinean hacia la izquierda */
  align-items: center;
  /* Centra los elementos verticalmente */
}

/* Estilo uniforme para selectores e inputs */
#filter-container select,
#filter-container input {
  width: 100%;
  /* Los elementos ocupan el 100% del ancho disponible */
  max-width: 600px;
  /* Limita el ancho máximo */
  font-size: 1rem;
  /* Tamaño de texto claro y consistente */
  padding: 10px;
  /* Aumenta el padding para mejorar la usabilidad */
  text-align: center;
  /* Centra el texto */
  box-sizing: border-box;
  /* Padding incluido en el tamaño */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  #filter-container {
    flex-direction: column;
    /* Los elementos se apilan verticalmente */
  }

  #filter-container select,
  #filter-container input {
    width: 100%;
    /* Ocupan todo el ancho del contenedor */
    max-width: none;
    /* Elimina cualquier límite de ancho */
  }
}

/* Ajustes para pantallas grandes */
@media (min-width: 769px) {

  #filter-container select,
  #filter-container input {
    width: 400px;
    /* Ancho fijo considerable en pantallas grandes */
  }
}

/* Contenedor de filtros para sedes */
#filter-container-headquarter {
  display: flex;
  flex-wrap: wrap;
  /* Permite apilar los filtros si es necesario */
  gap: 15px;
  /* Espaciado uniforme */
  justify-content: flex-start;
  /* Los elementos se alinean hacia la izquierda */
  align-items: center;
  /* Centra los elementos verticalmente */
}

/* Estilo uniforme para selectores e inputs */
#filter-container-headquarter select,
#filter-container-headquarter input {
  width: 100%;
  /* Los elementos ocupan el 100% del ancho disponible */
  max-width: 600px;
  /* Limita el ancho máximo */
  font-size: 1rem;
  /* Tamaño de texto claro y consistente */
  padding: 10px;
  /* Aumenta el padding para mejorar la usabilidad */
  text-align: center;
  /* Centra el texto */
  box-sizing: border-box;
  /* Padding incluido en el tamaño */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  #filter-container-headquarter {
    flex-direction: column;
    /* Los elementos se apilan verticalmente */
  }

  #filter-container-headquarter select,
  #filter-container-headquarter input {
    width: 100%;
    /* Ocupan todo el ancho del contenedor */
    max-width: none;
    /* Elimina cualquier límite de ancho */
  }
}

/* Ajustes para pantallas grandes */
@media (min-width: 769px) {

  #filter-container-headquarter select,
  #filter-container-headquarter input {
    width: 400px;
    /* Ancho fijo considerable en pantallas grandes */
  }
}

@media (max-width: 768px) {
  #filter-container {
    display: flex;
    /* Layout flexible */
    flex-direction: column;
    /* Elementos en columna */
    align-items: center;
    /* Centra los elementos horizontalmente */
    justify-content: center;
    /* Centra los elementos verticalmente */
    text-align: center;
    /* Asegura el centrado del texto */
    gap: 1rem;
    /* Espaciado entre elementos */
  }

  #parking_visitors {
    display: block;
    /* Asegura el comportamiento de bloque */
    margin: 0 auto;
    /* Centra el select dentro del contenedor */
    text-align: center;
    /* Centra el texto en navegadores compatibles */
    text-align-last: center;
    /* Centra la última línea del texto */
    max-width: 100%;
    /* Asegura que no se desborde */
    width: auto;
    /* Ajusta el ancho automáticamente */
  }
}

/* Centrar texto en el select solo en pantallas pequeñas */
@media (max-width: 768px) {
  #headquarter_vehicles {
    text-align-last: center;
    /* Centra el texto en navegadores compatibles */
    text-align: center;
    /* Fallback para algunos navegadores */
  }
}


/* Date fields */
input[type="date"] {
  font-family: 'Montserrat', sans-serif !important;
  /* Aplica la fuente Montserrat */
  font-size: 12px !important;
  /* Ajusta el tamaño de la fuente */
  color: #333 !important;
  /* Color del texto */
  padding: 8px !important;
  /* Espaciado interno */
  border: 1px solid #ccc !important;
  /* Estilo del borde */
  border-radius: 4px !important;
  /* Bordes redondeados */
  background-color: #f9f9f9 !important;
  /* Color de fondo */
}

/* Opcional: Cambiar el color de texto al enfocar el campo */
input[type="date"]:focus {
  color: #000 !important;
  border-color: #007bff !important;
  /* Color de borde enfocado */
  outline: none !important;
}

/* Monserrat font to all */
body,
p,
span,
div,
a,
h1,
h2,
h3,
h4,
h5,
h6,
label,
input,
textarea,
select,
button {
  font-family: 'Montserrat', sans-serif !important;
}

.chart-legend {
  display: none !important;
}

.gridjs .gridjs-th,
.gridjs .gridjs-td {
  white-space: nowrap;
}

/* Define el estilo personalizado */
.custom-table-body {
  color: #404E67;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.custom-table-title th {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  /* Semi-bold */
  color: #404E67;
  /* Ajusta el color */
  text-align: center;
}

.custom-add-vehicle-btn {
  font-family: 'Montserrat Thin', sans-serif;
  /* Fuente Montserrat Thin */
  font-size: 12px;
  /* Tamaño de la fuente */
  color: #ffffff;
  /* Color del texto */
  border: 1px solid #1B2846;
  /* Borde en el mismo color */
  background-color: #5FC4EB;
  /* Fondo transparente */
  padding: 5px 10px;
  /* Espaciado interno */
  border-radius: 4px;
  /* Bordes redondeados */
  transition: all 0.3s ease;
  /* Transición para efectos */
}

.custom-add-vehicle-btn:hover {
  background-color: #1B2846;
  /* Fondo azul al pasar el mouse */
  color: #ffffff;
  /* Texto blanco al pasar el mouse */
  border: 1px solid #1B2846;
  /* Mantener el borde */
}

#amount_received,
#change_to_return {
  margin-top: 0 !important;
  padding-left: 0 !important;
}

.form-group label {
  margin-bottom: 0.5rem;
}

.nav.nav-tabs.nav-topline .nav-item a.nav-link.active {
  background: none ! important;
  box-shadow: inset 0 3px 0 #1B2846 ! important;
  color: #1B2846 ! important;
  border-radius: 0 ! important;
  border-top-color: #1B2846 ! important;
  border-bottom: none ! important;
}

.custom-card-link {
  color: #5FC4EB !important;
  font-family: 'Montserrat', sans-serif !important;
}

.btn-custom {
  background-color: #1B2846;
  color: #5FC4EB;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.btn-fixed {
  min-width: 200px;
  /* Evita que uno sea más pequeño que el otro */
}

@media (min-width: 768px) {
  .me-md-3 {
    margin-right: 24px !important;
    /* Forzar separación en pantallas grandes */
  }
}

.btn-custom:hover {
  color: #1B2846;
  /* Nuevo color para la fuente al pasar el mouse */
  background-color: #5FC4EB;
  /* El fondo permanece igual */
  text-decoration: none;
  /* Evita el subrayado si es un enlace */
}

.btn-custom i {
  margin-right: 8px;
  /* Espacio entre el ícono y el texto */
}


.btn-reverse {
  background-color: #5FC4EB;
  color: #1B2846;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.btn-reverse:hover {
  color: #5FC4EB;
  /* Nuevo color para la fuente al pasar el mouse */
  background-color: #1B2846;
  /* El fondo permanece igual */
  text-decoration: none;
  /* Evita el subrayado si es un enlace */
}

.btn-reverse i {
  margin-right: 8px;
  /* Espacio entre el ícono y el texto */
}

.input-custom {
  max-width: 350px;
  /* 📌 Limita el ancho de los inputs */
  width: 100%;
  margin-bottom: 12px;
}

.d-flex input {
  flex: 1;
  /* 📌 Permite que el input ocupe el espacio restante */
}

table.dataTable tbody td.text-center {
  text-align: center !important;
}

.main-sidebar {
  background-color: #1A2846 !important;
}

.bg-primary {
  background-color: #1A2846 !important;
}

.bg-secondary {
  background-color: #1A2846 !important;
}

a {
  color: #344e85;
  text-decoration: none;
  background-color: transparent;
}

.dropdown-menu-lg {
  max-width: 400px !important;
  min-width: 380px !important;
  padding: 0 !important;
}

.submit-row a.deletelink {
  display: inline !important;
  background: #ba2121 !important;
  border-radius: 4px !important;
  padding: 10px 15px !important;
  line-height: 15px !important;
  color: #fff !important;
}

.delete-confirmation form .cancel-link {
  display: inline-block !important;
  vertical-align: middle !important;
  height: 50px !important;
  line-height: 15px !important;
  background: #ddd !important;
  border-radius: 4px !important;
  padding: 15px 15px !important;
  color: #333 !important;
  margin: 0 0 0 10px !important;
}

div.breadcrumbs {
  background: #1A2846;
  padding: 10px 40px;
  border: none;
  font-size: 14px;
  color: #c4dce8;
  text-align: left;
}

.object-tools a:link,
.object-tools a:visited {
  display: block !important;
  float: left !important;
  padding: 3px 12px !important;
  background: #1A2846 !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #fff !important;
}

.object-tools {
  font-size: 10px !important;
  font-weight: bold !important;
  padding-left: 0 !important;
  float: right !important;
  position: relative !important;
  margin-top: -35px !important;
}

.tooltip .tooltip-inner {
  color: #dc3545;
  background-color: #fff;
  border: 1px solid #dc3545;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: bold;
}

.jstree-icon .jstree-themeicon .fa .fa-layer-group .jstree-themeicon-custom {
  color: #007bff;
  /* azul */
}

.jstree-model .fa-box-open {
  color: #28a745;
  /* verde */
}

.jstree-action .fa-check-circle {
  color: #dc3545;
  /* rojo */
}

.main-menu.menu-light {
  color: #404e67 !important;
  background: #1A2846 !important;
  border-right: 1px solid #E4E7ED !important;
}

.navigation .navigation-header {
  font-family: "Montserrat", Georgia, "Times New Roman", Times, serif !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  padding: 12px 22px !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  background-color: #1A2846 !important;
  color: white !important;
}

.main-menu.menu-light .navigation>li.open {
  border-left: 4px solid #00b5b8 !important;
}

.navigation li {
  position: relative !important;
  white-space: nowrap !important;
  background-color: #1A2846 !important;
  color: white !important;
}

.main-menu.menu-light .navigation li a {
  color: white !important;
}

.main-menu.menu-light .navigation>li.open>a {
  padding-left: 16px !important;
  color: #c3c3c3 !important;
  background: #38445a !important;
}

.main-menu.menu-light .navigation>li ul .active>a {
  color: #00b5b8 !important;
  border: none !important;
  font-weight: 500 !important;
  background-color: #1A2846 !important;
}

.main-menu.menu-light .navigation>li ul .hover>a {
  color: white !important;
  background-color: #6b87c4 !important;
}

.main-menu-content {
  overflow-y: hidden;
  max-height: 100vh;
  transition: overflow 0.3s ease;
}

.main-menu-content:hover {
  overflow-y: auto;
}

/* Opcional: estilo para scrollbar más limpio en navegadores Webkit (Chrome, Edge, Safari) */
.main-menu-content::-webkit-scrollbar {
  width: 6px;
}

.main-menu-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.main-menu-content::-webkit-scrollbar-track {
  background: transparent;
}

body.vertical-layout.vertical-menu-modern.menu-expanded .navbar .navbar-header {
  float: left !important;
  width: 239px !important;
}


.main-menu.menu-light .navigation>li.hover>a,
.main-menu.menu-light .navigation>li:hover>a,
.main-menu.menu-light .navigation>li.active>a {
  color: white !important;
  background-color: #38445a !important;
}

/* ===== PAYMENT RESULT STYLES ===== */
.payment-result-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.payment-result-card {
  max-width: 600px;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #E5E7EB;
  padding: 32px 24px;
}

.payment-result-icon {
  font-size: 48px !important;
  margin-bottom: 16px;
}

.payment-result-icon.error {
  color: #EF4444;
}

.payment-result-icon.success {
  color: #10B981;
}

.payment-result-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.payment-result-title.error {
  color: #111827;
}

.payment-result-title.success {
  color: #059669;
}

.payment-result-description {
  font-size: 16px;
  color: #6B7280;
  margin-bottom: 24px;
}

.payment-error-details {
  background-color: #FEE2E2;
  border: 1px solid #FECACA;
  border-left: 4px solid #EF4444;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.payment-error-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.payment-error-icon {
  font-size: 18px;
  color: #EF4444;
  margin-top: 2px;
}

.payment-error-text {
  flex: 1;
}

.payment-error-reason {
  font-size: 15px;
  font-weight: 500;
  color: #991B1B;
  margin-bottom: 4px;
}

.payment-error-code {
  font-size: 13px;
  color: #6B7280;
}

.payment-subscription-details {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.payment-subscription-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  text-align: center;
}

.payment-subscription-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.payment-detail-item {
  margin-bottom: 12px;
}

.payment-detail-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.payment-detail-value {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
}

.payment-status-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  margin-top: 4px;
}

.payment-status-badge.pending {
  background-color: #FEF3C7;
  color: #92400E;
}

.payment-status-badge.success {
  background-color: #D1FAE5;
  color: #065F46;
}

.payment-retry-button {
  background-color: #2563EB;
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
  margin-right: 12px;
}

.payment-retry-button:hover {
  background-color: #1D4ED8;
  color: white;
  text-decoration: none;
}

.payment-retry-button.success {
  background-color: #10B981;
}

.payment-retry-button.success:hover {
  background-color: #059669;
}

.payment-secondary-button {
  background-color: transparent;
  color: #6B7280;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.payment-secondary-button:hover {
  background-color: #F9FAFB;
  color: #374151;
  text-decoration: none;
}

.payment-button-container {
  text-align: center;
  margin-top: 32px;
}

.payment-status-code {
  font-size: 12px;
  color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-result-card {
    margin: 0 16px;
    padding: 24px 20px;
  }

  .payment-subscription-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .payment-result-title {
    font-size: 24px;
  }

  .payment-button-container {
    flex-direction: column;
    gap: 12px;
  }

  .payment-retry-button,
  .payment-secondary-button {
    width: 100%;
    margin: 0 0 12px 0;
  }
}
