/* Overlay de bloqueo - IMT Lazarus */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Logo superior */
#logo {
  width: 100%;
  text-align: center;
  padding: 20px;
  flex-shrink: 0;
}

#logo img {
  height: 70px;
  max-width: 90%;
  object-fit: contain;
}

/* Ribbon azul */
.ribbon {
  width: 100%;
  background: #3B82F6;
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(18px, 3vw, 24px);
  text-align: center;
  padding: 16px 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Contenedor principal centrado */
#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
  text-align: center;
}

/* Círculo X rojo */
.forbidden {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
  position: relative;
}

/* X */
.forbidden .x {
  position: relative;
  width: 80px;
  height: 80px;
}

.forbidden .x::before,
.forbidden .x::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 16px;
  background: #ffffff;
  border-radius: 8px;
  left: 0;
  top: 50%;
}

.forbidden .x::before {
  transform: translateY(-50%) rotate(45deg);
}

.forbidden .x::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* Texto */
#main p {
  color: #6b7280;
  font-size: clamp(12px, 2vw, 14px);
  margin: 0;
  padding: 0 20px;
  word-wrap: break-word;
}

#main p b {
  color: #111111;
  font-weight: 600;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 480px) {
  #logo img {
    height: 50px;
  }
  
  .ribbon {
    font-size: 16px;
    padding: 12px 15px;
  }
  
  .forbidden {
    width: 100px;
    height: 100px;
  }
  
  .forbidden .x {
    width: 55px;
    height: 55px;
  }
  
  .forbidden .x::before,
  .forbidden .x::after {
    height: 12px;
    border-radius: 6px;
  }
}

/* Responsive para iframes muy pequeños */
@media (max-height: 300px) {
  #logo {
    padding: 10px;
  }
  
  #logo img {
    height: 40px;
  }
  
  .ribbon {
    padding: 8px 10px;
    font-size: 14px;
  }
  
  .forbidden {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
  }
  
  .forbidden .x {
    width: 40px;
    height: 40px;
  }
  
  .forbidden .x::before,
  .forbidden .x::after {
    height: 10px;
    border-radius: 5px;
  }
  
  #main p {
    font-size: 11px;
  }
}