@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

.bodyIndex {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.bodyPainel {
    margin: 0;
    background: #f4f4f4;
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    display: flex;
}

.information{
    color: yellow;
    background-color: red;
    padding: 5px;
    border-radius: 25px 25px 0 0;
    text-align: center;
    margin-top: 25px;
    display: none;
}

.subInformation{
    color: #2c3e50;
    background-color: grey;
    padding: 5px;
    border-radius: 0 0 10px 10px;
    font-size: 20px;
    font-weight: bold;
    display: none;
}
img{
   max-width: 200px; 
}

a{
    cursor: pointer;
}

.btn-logar {
  background: #28a745;
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 4px;
}

/* Conteúdo */
.content {
    flex: 1;
    padding: 20px 230px 20px 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
    
}

.modal-content {
    background: #fff;
    margin: 0 auto;
    padding: 20px;
    width: 530px !important;
    border-radius: 8px;
    margin-left: calc(20px + 52vh);
    max-height: 80vh;
    overflow-y: auto;
}

.aviso {
    background: #fff;
    margin: 0 auto;
    padding: 20px;
    width: 530px;
    margin-left: 0 !important;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-footer{
    justify-content: space-around !important;
}


.fechar {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

.fechaModal{
    font-weight: bold;
    cursor: pointer;
    width: 22px;
    border-radius: 5px;
    background: red;
    text-align: center;
    height: 20px;
}

.fechaModal:hover{
    background: darkgreen;
    color: #fff;
}

/* Menu lateral */
.sidebar {
    width: 340px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #222;
    color: #fff;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* 🔥 IMPORTANTE mobile */

    z-index: 1000;

    transition: 0.3s;
}

.sidebar h2 {
    text-align: center;
    max-width: 100px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 10px 0;
    background: #34495e;
    border-radius: 5px;
}

.sidebar a:hover {
    background: #1abc9c;
}

.subtittle{
    margin-left: 15px;
    font-weight: bold;
}

/* BOTÃO HAMBURGER */
.menu-toggle {
    display: none;
    position: fixed;
    top: 0;
    left: 15px;
    z-index: 1001;
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 12px;
    font-size: 18px;
    border-radius: 5px;
    width: 40px;
}

/*CONFIGURAÇÃO DOS SUBMENUS*/
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    background: #2f3542;
    color: white;
    border-radius: 5px;
    margin-bottom: 5px;
}

.menu-header:hover {
    background: #404b5a;
}

.submenu {
    display: none;
    padding-left: 10px;
}

.submenu a {
    display: block;
    padding: 8px 10px;
}

.group-menu-pedido.active .submenu {
    display: block;
}

.arrow {
    transition: transform 0.3s;
}

.group-menu-pedido.active .arrow {
    transform: rotate(180deg);
}
/*FIM*/

/* CONTEÚDO AJUSTADO */
.content {
    margin-left: 340px;
    transition: 0.3s;
}

/* Caixa de login */
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 25px;
}

/* Inputs */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #999;
}

.input-group input {
    width: 275px;
    padding: 10px 10px 10px 35px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
}

/* Botão */

button {
    width: 300px;
    font-size: 16px;
    border-radius: 6px;
    padding: 10px 20px;
    background: green;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background: darkgreen;
}

.toggle-password{
    width: auto;
    border-radius: 0;
    padding: 0;
    background: #fff;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: auto;
    position: absolute;
    top: 0;
    right: 35px;
    
}

.toggle-password {
    background: none;
}

/* Container do select */
.select-group {
    position: relative;
    margin-bottom: 15px;
}

/* Ícone */
.select-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

/* Select estilizado */
.select-group select {
    width: 100%;
    padding: 12px 12px 12px 35px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #2c3e50;
    color: #fff;
    font-size: 14px;
    outline: none;
    appearance: none; /* remove estilo padrão */
    cursor: pointer;
    transition: 0.3s;
}

/* Hover */
.select-group select:hover {
    border-color: #3498db;
}

/* Focus */
.select-group select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Seta customizada */
.select-group::after {
    content: "\f078"; /* ícone seta */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

/* Option (limitado pelo navegador) */
select option {
    background: #2c3e50;
    color: #fff;
}

/* Rodapé */
.footer {
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}

/*Style do box advertising*/
#ad-box1 {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 200px;
    height: 460px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 9;
    transition: all 0.4s ease;
}

/* Conteúdo interno */
#ad-box1 video,
#ad-box1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#ad-box2 {
    position: fixed;
    bottom: 480px;
    right: 10px;
    width: 200px;
    height: 150px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 8;
}

/* Conteúdo interno */
#ad-box2 video,
#ad-box2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-box {
    position: relative;
    padding: 15px;
    background: #eee;
    margin-bottom: 10px;
}

/* Botão X escondido por padrão */
.close-btn {
    display: none;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 99;
}

#totalizacao{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 50px;
    z-index: 9;
    background-color: #fff;
    padding-left: 20px;
    border-radius: 5px;
}

.card {
    min-height: 280px;
    width: max-content;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.topo {
    margin-bottom: 10px;
}

.total-produto {
    margin-top: 10px;
    font-weight: bold;
    text-align: right;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 10px;
    
}

.tabela th, .tabela td {
    border-bottom: 2px solid #000;
    padding: 2px;
    text-align: center;
}

table {
    width: max-content;
    border-collapse: collapse;
    background: #fff;
    font-size: 10px;
}

th{
    padding: 10px;
    border: 1px solid #000;
    text-align: center;
    color: #000;
    background-color: #bd9f9f;
}

h3 {
    margin-bottom: 20px;
}

td { 
    border: 1px solid #ddd; 
    padding: 8px; 
    text-align: left;
}
tr:nth-child(even) {
    background: #fafafa;
}

.total-geral {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}
.icon-info{
    cursor: pointer;
}

#res_cliente{
    font-weight: bold;
    color: #ff0101;
    font-size: 30px;
}
#res_produto{
    font-weight: bold;
    color: #ff0101;
    font-size: 20px;
}
#res_cor{
    font-weight: bold;
    color: #ff0101;
    font-size: 20px;
}
#res_tamanho{
    font-weight: bold;
    color: #ff0101;
    font-size: 30px;
}

body{
            font-family: Arial;
            background: #f4f4f4;
            padding:20px;
        }

        .container{
            max-width:900px;
            margin:auto;
            background:#fff;
            padding:20px;
            border-radius:10px;
            box-shadow:0 0 10px rgba(0,0,0,.1);
        }

        h2{
            margin-bottom:20px;
        }

        table{
            width:100%;
            border-collapse:collapse;
        }

        table th,
        table td{
            border-bottom:1px solid #ddd;
            padding:5px;
            text-align:left;
        }

        .btn{
            background:#007bff;
            color:#fff;
            padding:8px 14px;
            border-radius:5px;
            text-decoration:none;
            display:inline-block;
        }

        .btn:hover{
            background:#0056b3;
        }

        .vazio{
            padding:20px;
            text-align:center;
            color:#666;
        }
/* MOBILE */
@media (max-width: 768px) {
    
    .close-btn {
        display: block;
    }
    /* Conteúdo */
    .content {
        flex: 1;
        padding: 20px;
        margin-left: 0;
    }
    .info{
        margin: 0 auto 0px 30px;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar {
        left: -335px; /* ESCONDIDO */
    }
    
    .sidebar h2{
        margin: 20px auto 20px;
    }

    .sidebar.active {
        left: 0;
        z-index: 100;
    }
    
    .modal-content {
      background: #fff;
      margin: 0 auto;
      padding: 20px;
      width: 400px;
      border-radius: 8px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
}