/* styles.css */
:root {
  --bg: #20282D;
  --text: #e6eef8;
  --muted: #b0bbc5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.main-container {
  background-color: #ffffff
  border-radius: 0; /* opcional: elimina bordes redondeados si quieres ocupar todo el ancho */
  padding: 1px;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.title-tab {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: left;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tab {
  flex: 1;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
  font-weight: 600;
}

.tab:hover {
  background-color: #00367E;
  text-color: #ffffff;
}

.tab.active {
  background-color: rgba(255,255,255,0.15);
  border-color: #00367E;
}

/* Panels */
.panels {
  background-color: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.panel {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  inset: 0;
}

.panel.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.panel-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.panel-content .text {
  flex: 1;
  min-width: 300px;
}

.panel-content .image-space {
  flex-shrink: 0;
  width: 450px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 10px;
}

.panel-content img {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.panel h2 {
  margin-top: 0;
}

.panel p {
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .panel-content {
    flex-direction: column;
  }
  .image-space {
    width: 100%;
    height: auto;
  }
}

#tab-aws.tab:hover,
#tab-fortinet.tab:hover,
#tab-sas.tab:hover,
#tab-tdsynnex.tab:hover {
  color: #fff !important;
  transition: color 0.3s ease;
}