/* Bridge0 Custom Styles */

/* ============================================
   Responsive Padding Overrides
   ============================================ */

/* Mobile: Ultra-minimal padding for maximum screen space utilization */
@media screen and (max-width: 768px) {
  .section {
    padding: 0; /* Default is 3rem - remove all padding on mobile */
    margin: 0; /* Remove any margins */
  }

  .container.is-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .box {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0; /* Optional: remove rounded corners for true edge-to-edge */
  }
}

/* Tablet: Moderate padding */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .section {
    padding: 2rem 1.5rem; /* Default is 3rem - slightly reduced */
  }
}

/* ============================================
   Animated Glow Effects - Bulma-style naming
   ============================================ */

/* Glow animations for different color variants */
@keyframes glow-pulse-danger {
  0% {
    box-shadow: 0 0 5px rgba(255, 56, 96, 0.4),
                0 0 10px rgba(255, 56, 96, 0.3),
                0 0 15px rgba(255, 56, 96, 0.2);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 56, 96, 0.6),
                0 0 20px rgba(255, 56, 96, 0.5),
                0 0 30px rgba(255, 56, 96, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 56, 96, 0.4),
                0 0 10px rgba(255, 56, 96, 0.3),
                0 0 15px rgba(255, 56, 96, 0.2);
  }
}

@keyframes glow-pulse-warning {
  0% {
    box-shadow: 0 0 5px rgba(255, 221, 87, 0.4),
                0 0 10px rgba(255, 221, 87, 0.3),
                0 0 15px rgba(255, 221, 87, 0.2);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 221, 87, 0.6),
                0 0 20px rgba(255, 221, 87, 0.5),
                0 0 30px rgba(255, 221, 87, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 221, 87, 0.4),
                0 0 10px rgba(255, 221, 87, 0.3),
                0 0 15px rgba(255, 221, 87, 0.2);
  }
}

@keyframes glow-pulse-info {
  0% {
    box-shadow: 0 0 5px rgba(62, 142, 208, 0.4),
                0 0 10px rgba(62, 142, 208, 0.3),
                0 0 15px rgba(62, 142, 208, 0.2);
  }
  50% {
    box-shadow: 0 0 10px rgba(62, 142, 208, 0.6),
                0 0 20px rgba(62, 142, 208, 0.5),
                0 0 30px rgba(62, 142, 208, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(62, 142, 208, 0.4),
                0 0 10px rgba(62, 142, 208, 0.3),
                0 0 15px rgba(62, 142, 208, 0.2);
  }
}

@keyframes glow-pulse-success {
  0% {
    box-shadow: 0 0 5px rgba(72, 199, 142, 0.4),
                0 0 10px rgba(72, 199, 142, 0.3),
                0 0 15px rgba(72, 199, 142, 0.2);
  }
  50% {
    box-shadow: 0 0 10px rgba(72, 199, 142, 0.6),
                0 0 20px rgba(72, 199, 142, 0.5),
                0 0 30px rgba(72, 199, 142, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(72, 199, 142, 0.4),
                0 0 10px rgba(72, 199, 142, 0.3),
                0 0 15px rgba(72, 199, 142, 0.2);
  }
}

@keyframes glow-pulse-primary {
  0% {
    box-shadow: 0 0 5px rgba(0, 209, 178, 0.4),
                0 0 10px rgba(0, 209, 178, 0.3),
                0 0 15px rgba(0, 209, 178, 0.2);
  }
  50% {
    box-shadow: 0 0 10px rgba(0, 209, 178, 0.6),
                0 0 20px rgba(0, 209, 178, 0.5),
                0 0 30px rgba(0, 209, 178, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 209, 178, 0.4),
                0 0 10px rgba(0, 209, 178, 0.3),
                0 0 15px rgba(0, 209, 178, 0.2);
  }
}

@keyframes glow-pulse-link {
  0% {
    box-shadow: 0 0 5px rgba(72, 95, 199, 0.4),
                0 0 10px rgba(72, 95, 199, 0.3),
                0 0 15px rgba(72, 95, 199, 0.2);
  }
  50% {
    box-shadow: 0 0 10px rgba(72, 95, 199, 0.6),
                0 0 20px rgba(72, 95, 199, 0.5),
                0 0 30px rgba(72, 95, 199, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(72, 95, 199, 0.4),
                0 0 10px rgba(72, 95, 199, 0.3),
                0 0 15px rgba(72, 95, 199, 0.2);
  }
}

/* Base glow class */
.has-glow {
  position: relative;
}

/* Glow variants - Bulma-style naming */
.glow-danger {
  animation: glow-pulse-danger 2s ease-in-out infinite;
}

.glow-danger::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(255, 56, 96, 0.3), rgba(255, 56, 96, 0.1));
  border-radius: 6px;
  z-index: -1;
  animation: glow-pulse-danger 2s ease-in-out infinite;
}

.glow-warning {
  animation: glow-pulse-warning 2s ease-in-out infinite;
}

.glow-warning::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(255, 221, 87, 0.3), rgba(255, 221, 87, 0.1));
  border-radius: 6px;
  z-index: -1;
  animation: glow-pulse-warning 2s ease-in-out infinite;
}

.glow-info {
  animation: glow-pulse-info 2s ease-in-out infinite;
}

.glow-info::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(62, 142, 208, 0.3), rgba(62, 142, 208, 0.1));
  border-radius: 6px;
  z-index: -1;
  animation: glow-pulse-info 2s ease-in-out infinite;
}

.glow-success {
  animation: glow-pulse-success 2s ease-in-out infinite;
}

.glow-success::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(72, 199, 142, 0.3), rgba(72, 199, 142, 0.1));
  border-radius: 6px;
  z-index: -1;
  animation: glow-pulse-success 2s ease-in-out infinite;
}

.glow-primary {
  animation: glow-pulse-primary 2s ease-in-out infinite;
}

.glow-primary::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(0, 209, 178, 0.3), rgba(0, 209, 178, 0.1));
  border-radius: 6px;
  z-index: -1;
  animation: glow-pulse-primary 2s ease-in-out infinite;
}

.glow-link {
  animation: glow-pulse-link 2s ease-in-out infinite;
}

.glow-link::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(72, 95, 199, 0.3), rgba(72, 95, 199, 0.1));
  border-radius: 6px;
  z-index: -1;
  animation: glow-pulse-link 2s ease-in-out infinite;
}
