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

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: #333;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        min-height: 100vh;
    }
.page-wrapper {
    max-width: calc(100vw - 320px); /* Largura total menos sidebar e padding */
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.iframe-container {
    max-width: 1170px; /* was 900, now 30% more */
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: top center;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}



.container-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container-iframe {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
}
.section {
    background: rgba(255, 255, 255, 0.95);
    margin: 30px auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 1000px;
}

.section h2 {
    color: #8a2be2;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #00ff88;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}


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

    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        color: #333;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        min-height: 100vh;
    }

   .page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    } 

    .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background-color: #343a40; /* Cor escura similar à sua navbar */
    padding: 20px 0;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid #495057;
    margin-bottom: 20px;
}

.sidebar-header h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background-color: #495057;
    color: white;
    border-left-color: #007bff;
}

.sidebar-menu a.active {
    background-color: #007bff;
    color: white;
    border-left-color: white;
}

.sidebar-menu i {
    font-size: 1rem;
    width: 20px;
    margin-right: 8px;
}

/* Ajustar conteúdo principal */
.main-content {
    margin-left: 280px;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

.sidebar-header a {
    text-decoration: none;
    color: inherit; /* Mantém a cor original do texto */
}
    /* Submenu styling */
.sidebar-menu .collapse .list-unstyled a {
    color: #6c757d;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 2px 0;
}

.sidebar-menu .collapse .list-unstyled a:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding-left: 1.5rem;
}

.sidebar-menu .collapse .list-unstyled a.active {
    background-color: #007bff;
    color: white;
}

/* Chevron rotation animation */
.sidebar-menu a[data-bs-toggle="collapse"] .bi-chevron-down {
    transition: transform 0.3s ease;
}

.sidebar-menu a[data-bs-toggle="collapse"][aria-expanded="false"] .bi-chevron-down {
    transform: rotate(-90deg);
}

.sidebar-menu a[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
    transform: rotate(0deg);
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
}
