/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.mensaje-error {
    position: absolute;
    top: 50%;
    left: 35%;
    margin: -25px 0 0 -25px;
    font-weight: bold;
    font-family: 'Lucida Bright', serif;
}

.oculto {
    display: none;
}

/* Fondo oscuro */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn .25s ease-out;
    z-index: 9999;
}

/* Modal */
.modal-container {
    background: #f5f5f5;
    border-radius: 10px;
    padding-bottom: 20px;
    width: 90%;
    max-width: 850px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.2);
    animation: slideDown .25s ease-out;
    font-family: "Segoe UI", sans-serif;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-25px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header */
.modal-header {
    background: #1f7dd4;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
    width: 100%;
    box-sizing: border-box;
}

.close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

/* Body */
.modal-body {
    padding: 20px 25px;
}

.modal-body p {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* Tabla */
.facturas-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
}

    .facturas-table th {
        background: #e6e6e6;
        padding: 10px;
        text-align: left;
        font-weight: 600;
    }

    .facturas-table td {
        padding: 12px;
        font-size: 15px;
    }

.importe-pendiente {
    color: #d62828;
    font-weight: bold;
}

/* Total */
.total-container {
    text-align: right;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

/* Botones */
.botones-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.btn-pagar,
.btn-bizum {
    padding: 12px 35px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .15s ease-in-out;
}

.btn-pagar {
    background: #1f7dd4;
}

.logo-titulo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-header {
    max-height: 40px;
    width: auto;
}

.titulo-header {
    margin-top: 8%;
}

.table-res {
    text-align: center;
}

