/* ===== BASE ===== */
body {
    margin: 0;
    padding: 0;
}

header {
        font-size: 12px;

    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0;
    padding: 0; /* evita espaços nas laterais */
    border-bottom: 1px solid var(--border-color);
}

/* Ícone do tema */
#iconeTema{
    width: 22px;
}

/* Ícone do tema */
.Title{
    font-size:10px;
        white-space: nowrap;

}


/* Menu em linha */
.menu {
    font-size: 8px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
        white-space: nowrap;

}

/* SWITCH */
.switch {
    width: 35px !important;
    height: 18px !important;
    position: relative;
    display: inline-block;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 18px !important;
}

.slider:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(16px) !important;
}


/* ===== MODO ESCURO ===== */
.dark-mode {
    background-color: black;
    color: white;
}

/* Borda muda com o tema */
.dark-mode header {
    border-bottom-color: white;
}


/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 600px) {

    header {
        height: 55px;
        padding: 0 5px;
    }

    #iconeTema {
        width: 18px;
    }

    .menu {
        font-size: 8px;
        gap: 10px;
            white-space: nowrap;

    }

    .switch {
        width: 30px !important;
        height: 16px !important;
    }

    .slider:before {
        width: 12px !important;
        height: 12px !important;
    }

    input:checked + .slider:before {
        transform: translateX(14px) !important;
    }
}




.menu-container {
  position: relative;
}

.menu-icon {
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.menu-icon .bar {
  width: 35px;
  height: 4px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Transformações para o X */
.menu-icon.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-icon.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu opções */
.menu-options {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-direction: column;
  gap: 10px;
}

.menu-options a {
  text-decoration: none;
  color: #333;
}

.menu-options.show {
  display: flex;
}

