/*
 * BVH - Estilo Moderno y Profesional 2025
 * Paleta: Azul oscuro, azul claro, blanco, acento dorado y verde éxito
 * Glassmorphism, degradados, sombras suaves y animaciones sutiles
 */
body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #e9f1fa 0%, #f5f7fa 100%);
  margin: 0;
  padding: 0;
  color: #1a2947;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

header, .bvh-header {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 24px 0 rgba(44,80,161,0.10);
  padding: 22px 0 18px 0;
  margin-bottom: 36px;
  border-bottom: 2px solid #e3e6ee;
  backdrop-filter: blur(6px);
}

.logo {
  height: 54px;
  filter: drop-shadow(0 2px 8px #00A9B755);
}

h1, h2, h3, h4, h5 {
  color: #2C50A1;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.btn, .btn-custom, .btn-primary, .btn-bvh-pinkblue, .btn-bvh-primary, .btn-bvh-success, .btn-bvh-warning, .btn-bvh-info, .btn-bvh-dark {
  border-radius: 18px !important;
  font-weight: 800;
  padding: 16px 38px;
  font-size: 1.15rem;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 16px #2C50A1aa;
  border: none;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #2C50A1 0%, #00A9B7 100%);
  color: #fff;
}

.btn-primary, .btn-bvh-primary {
  background: linear-gradient(90deg, #2C50A1 60%, #00A9B7 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px #00A9B733;
}
.btn-primary:hover, .btn-primary:focus, .btn-bvh-primary:hover, .btn-bvh-primary:focus {
  background: linear-gradient(90deg, #00A9B7 60%, #2C50A1 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.btn-bvh-dark {
  background: linear-gradient(90deg, #2C50A1 0%, #222 100%);
}
.btn-bvh-dark:hover {
  background: linear-gradient(90deg, #222 0%, #2C50A1 100%);
}

.btn-outline-primary {
  border: 2px solid #2C50A1;
  color: #2C50A1;
  background: #fff;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: #2C50A1;
  color: #fff;
  border-color: #2C50A1;
}

.btn-outline-success {
  border: 2px solid #00D395;
  color: #00D395;
  background: #fff;
}
.btn-outline-success:hover, .btn-outline-success:focus {
  background: #00D395;
  color: #fff;
}

.btn-outline-warning {
  border: 2px solid #f4c542;
  color: #f4c542;
  background: #fff;
}
.btn-outline-warning:hover, .btn-outline-warning:focus {
  background: #f4c542;
  color: #222;
}

.card, .saldo-box, .apertura-container, .login-container {
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 #e9a1e655;
  background: rgba(255,255,255,0.97);
  border: none;
  margin-bottom: 24px;
  padding: 32px 24px 32px 24px;
  position: relative;
  overflow: hidden;
}

.card-header.bg-white {
  background: #fff !important;
  border-radius: 28px 28px 0 0;
  border-bottom: 2px solid #e9eafc;
}

.chip {
  width: 52px;
  height: 34px;
  background: linear-gradient(120deg, #f4c542 60%, #fffbe6 100%);
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px #f4c54255;
}

.mastercard span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
}
.mc-red { background: #eb001b; left: 0; }
.mc-yellow { background: #f79e1b; left: 18px; }

.saldo-box {
  font-size: 1.5rem;
  font-weight: 800;
  background: rgba(255,255,255,0.97);
  color: #2C50A1;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 6px 24px #00A9B722;
  border: 1.5px solid #e3e6ee;
}

input, select, textarea {
  border-radius: 12px !important;
  border: 1.5px solid #c3cfe2 !important;
  padding: 12px 16px !important;
  font-size: 1.05rem;
  background: #f8fafc !important;
  margin-bottom: 12px;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #00A9B7;
  border-color: #00A9B7 !important;
  background: #fff !important;
  box-shadow: 0 0 0 2px #00A9B755;
}

.form-label {
  font-weight: 700;
  color: #2C50A1;
  letter-spacing: 0.02em;
}

.list-group-item {
  border: none;
  border-bottom: 1.5px solid #e3e6ee;
  background: transparent;
  color: #1a2947;
  font-size: 1.08rem;
}

.text-success { color: #00D395 !important; }
.text-danger { color: #EB001B !important; }

.cerrar-sesion {
  position: absolute;
  top: 24px;
  right: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Glassmorphism efecto para tarjetas y paneles */
.glass {
  background: rgba(255,255,255,0.75);
  box-shadow: 0 8px 32px 0 rgba(44,80,161,0.13);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  border: 1.5px solid #e3e6ee;
}

/* Animación sutil para botones */
.btn, .btn-custom {
  transition: box-shadow 0.18s, transform 0.18s;
}
.btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px #2C50A122;
}

/* Animación de entrada para tarjetas */
.card, .card-bvh, .saldo-box {
  animation: fadeInUp 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mejoras para notificaciones móviles */
.noti-dropdown-responsive {
  max-width: 98vw !important;
  min-width: 0 !important;
  left: 2vw !important;
  right: 2vw !important;
  top: 60px !important;
  padding: 12px 6px !important;
}

/* Mejoras visuales para la bandeja de notificaciones centrada y transparente */
.noti-dropdown-responsive {
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(10px) !important;
  text-align: center !important;
}
@media (max-width: 600px) {
  #noti-dropdown, .noti-dropdown-responsive {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    max-width: 98vw !important;
    min-width: 0 !important;
    top: 56px !important;
    border-radius: 14px !important;
    padding: 10px 2vw !important;
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(10px) !important;
  }
  #noti-content {
    max-height: 220px !important;
    font-size: 1.01rem !important;
    text-align: center !important;
  }
  #noti-scroll-down {
    font-size: 1.01rem !important;
    padding: 10px 0 !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .card-bvh, .saldo-box, .card {
    padding: 18px 10px;
  }
  .logo { height: 38px; }
  .cerrar-sesion { top: 10px; right: 10px; }
}

::-webkit-scrollbar {
  width: 10px;
  background: #e3e6ee;
}
::-webkit-scrollbar-thumb {
  background: #c3cfe2;
  border-radius: 8px;
}
