@import url('https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: #f5f6fa;
    color: #2f3640;
    overflow: hidden;
}

#header {
    margin: 0;
    padding: 0;
}

.main-header {
    background-color: #273c75;
    color: white;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-header-left,
.logo-header-right {
    height: 60px;
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.logo-header-left {
    left: 40px;
}

.logo-header-right {
    right: 40px;
}

.header-text {
    text-align: center;
    z-index: 1;
}

.header-text h1 {
    margin: 0;
    font-size: 36px;
}

.header-text p {
    margin: 10px 0 0;
    font-size: 16px;
}

#main {
    display: flex;
    height: calc(100% - 100px); /* Ajuste conforme o header */
    width: 100%;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    background-color: #3a7bd5;
    color: white;
    padding: 0;
    flex-shrink: 0;
    overflow-y: auto;
    height: 100%;
}

.sidebar h2 {
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
    color: #e1e9ff;
}

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

.sidebar ul li {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background-color 0.3s ease;
}

.sidebar ul li:hover {
    background-color: #6a99f8;
}

.sidebar ul .submenu {
    display: none;
    background-color: #acc8ff;
    padding-left: 20px;
    margin: 0;
}

.sidebar ul li.active > .submenu,
.has-submenu.open > .submenu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.sidebar ul .submenu li {
    border: none;
    padding: 10px 20px;
    background-color: #c9dbff;
    color: #1a2a6c;
}

.sidebar ul .submenu li:hover {
    background-color: #a1bbff;
    color: #0c1559;
}

.has-submenu {
    cursor: pointer;
    font-weight: 600;
}

#conteudo {
    flex: 1;
    overflow-y: auto;
    background-color: #fff;
    padding: 20px;
}

/* Conteúdo central */
section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.info div {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Login Box (opcional) */
.login-box {
    max-width: 400px;
    margin: 60px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
}

.login-box input[type="email"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-box input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #273c75;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.login-box input[type="submit"]:hover {
    background-color: #192a56;
}

footer {
    text-align: center;
    padding: 20px;
    background: #dcdde1;
    color: #636e72;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.player {
  display: block !important;
  width: 280px; /* ou o tamanho que quiser */
  margin: 0 auto;
}

.player video, .player select {
  display: block !important;
  width: 50% !important;
  margin: 0 auto 10px auto;
  float: none !important;
}


