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


html,
body{
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:'Inter', sans-serif;
}

body{
    margin:0;
    display:flex;
    flex-direction:column;
    background:#f5f7fb;
}


#header{
    height:70px;
    background:#003366;
    color:white;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 25px;
}



/* NAVBAR IGUAL AMC */

.navbar{
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 30px;
  color: white;
  font-weight: bold;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 999999;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  height:35px;
}


.menu{
  display:flex;
  gap:25px;
  flex:1;
  justify-content:center;
  align-items:center;
}

.menu a{
  color:white;
  text-decoration:none;
  font-weight:bold;
  transition:.3s;
  padding:8px 10px;
  border-radius:8px;
}

.menu a:hover{
  color:#00aaff;
}

.menu > a.active,
.drop-btn.active{
  background:#003366;
  color:white;
  border-radius:8px;
  padding:8px 12px;
}

#sopTitle{
  font-size:22px;
  font-weight:700;
}
#sopInfo{
  font-size:13px;
  opacity:0.8;
}

#counter{
    font-size:18px;
}

#viewer{
    flex:1;
    width:100%;
    border:none;
    background:white;
}


/* VIEWER */
.tv-body{
  flex:1;
  width:100%;
  overflow:hidden;
}

iframe{
  width:100%;
  height:100%;
  border:none;
  transition:opacity .4s ease;
  background:white;
}

   #loginModal button{
        width:100%;
        padding:10px;
        background:#ffcc00;
        border:none;
        border-radius:8px;
        font-weight:bold;
        cursor:pointer;
      }

/* ===== DROPDOWN SIMPLE Y ESTABLE ===== */

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
      z-index: 999999;
}


.drop-btn {
  background: none;
  border: none;
  color: white;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}


.dropdown-content{

  position:absolute;

  top:100%;
  left:0;

  display:none;
  flex-direction:column;

  min-width:240px;

  padding:10px 0;

  border-radius:12px;

  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);

  box-shadow:0 15px 40px rgba(0,0,0,0.45);

  z-index:9999999;

  overflow:hidden;
}


.dropdown-content a{

  display:block;

  padding:14px 18px;

  color:white;

  text-decoration:none;

  white-space:nowrap;

  position:relative;

  z-index:9999999;
}
      
.dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
}

.dropdown.open .dropdown-content {
  display: flex;
}

/* ICON ROTATION */
.dropdown.open i {
  transform: rotate(180deg);
  transition: 0.3s;
}

.presentation-header{

  background:#ffffff;

  padding:15px 25px;

  border-bottom:1px solid #e5e7eb;

  box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.presentation-header h1{

  margin:0;

  font-size:30px;

  color:#0f172a;
}

.presentation-header span{

  color:#64748b;
}
  
      /* ===== BANNER ===== */
      .banner{
        text-align:center;
        padding:40px 20px 20px;
        color:white;
      }
      .banner{
        position:relative;
        z-index:1;
      }
      .banner h1{
        margin:0;
        font-size:2.2rem;
      }
      
      .banner p{
        margin:4px 0;
        opacity:0.9;
      }
      
      .cta-btn{
        display:inline-block;
        margin-top:15px;
        padding:10px 25px;
        border-radius:30px;
        background:linear-gradient(135deg,#0072C6,#005a9e);
        color:white;
        text-decoration:none;
        font-weight:bold;
        transition:.3s;
      }
      
      .cta-btn:hover{
        transform:scale(1.05);
      }

.presentation-footer{
  height:45px;
  background:#0f172a;
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 20px;
  font-size:14px;
}

.dept-badge{
  display:inline-block;
  margin-top:8px;
  padding:6px 14px;
  border-radius:999px;
  background:#003366;
  color:white;
  font-size:13px;
  font-weight:600;
}
