/* =========================================
   1. RESET E REGRAS GERAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Alta qualidade para todas as imagens */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

body {
    background-color: #f5f5f5;
    color: #000;
    overflow-x: hidden;
    /* Evita rolagem lateral indesejada */
}

/* =========================================
   2. CABEÇALHO (HEADER) - SIDEBAR VERTICAL INTEGRADA
   ========================================= */
.header-gocase {
    position: fixed !important;
    left: 0;
    top: 0;
    width: 220px !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    border-right: 1px solid #e5e5e5 !important;
    border-bottom: none !important;
    padding: 0 !important;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.header-top {
    display: flex;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    height: 100%;
    width: 100%;
    gap: 0;
}

.menu-wrapper {
    order: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.logo-container {
    order: 1;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: none;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-black {
    font-weight: 700;
    font-size: 16px !important;
    color: #000 !important;
    letter-spacing: 0;
}

/* Ocultar ícone de menu hamburguer na sidebar integrada */
.menu-icon {
    display: none !important;
}

/* Menu sempre visível na sidebar */
.menu-oculto {
    display: flex !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    height: auto !important;
    width: 100% !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-direction: column !important;
    padding: 15px 0 !important;
    z-index: auto !important;
    overflow-y: auto !important;
    transform: none !important;
    transition: none !important;
    flex: 1;
}

.menu-oculto a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-bottom: none !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.menu-oculto a i {
    color: #000 !important;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-oculto a:hover {
    background-color: #f5f5f5 !important;
    color: #000 !important;
}

.menu-oculto a.active {
    background-color: #000 !important;
    color: #fff !important;
    border-left-color: #000 !important;
}

.menu-oculto a.active i {
    color: #fff !important;
}

/* Ícones do menu */
.menu-oculto a::before {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Sidebar pode rolar internamente se muitos itens */
.header-gocase {
    overflow-y: auto !important;
}

/* Conteúdo principal ao lado da sidebar fixa */
.main-content {
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
}

.icons-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.user-icon svg {
    width: 24px;
    height: 24px;
    fill: #000;
}

.user-icon:hover {
    opacity: 0.7;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: #000;
    border-radius: 2px;
    margin: 2px 0;
}

/* BUSCA */
.search-container {
    width: 100%;
    background: #fff;
}

.search-box {
    display: flex;
    background-color: #f2f2f2;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 10px auto;
    max-width: 1200px;
}

.search-box input {
    border: none;
    background: transparent;
    flex: 1;
    outline: none;
    font-size: 14px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
}

/* =========================================
   3. MENU LATERAL (ESQUERDA) - SIDEBAR
   ========================================= */
.menu-wrapper {
    position: relative;
}

/* Menu Escondido - Adaptado para Sidebar */
.menu-oculto {
    display: none;
    position: fixed;
    left: 80px;
    top: 0;
    height: 100vh;
    width: 200px;
    background-color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px;
    z-index: 1001;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

/* Menu Visível (Ativado pelo JS) */
.menu-oculto.menu-aberto {
    display: flex !important;
    transform: translateX(0) !important;
}

.menu-oculto a {
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.menu-oculto a:hover {
    background-color: #f5f5f5;
    color: #e92323;
    /* Vermelho Destaque */
}

/* =========================================
   4. SIMULADOR (LAYOUT DASHBOARD)
   ========================================= */
.container-produto {
    display: flex;
    max-width: 1200px;
    /* Aumentei de 1100px para 1200px */
    margin: 0 auto 40px auto;
    gap: 40px;
    padding: 0 20px;
    align-items: flex-start;
}

.coluna-preview {
    flex: 1.2;
    max-width: 440px;
    min-width: 340px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: sticky;
    top: 0;
    box-sizing: border-box;
}

.coluna-controles {
    flex: 2.5;
    max-width: 520px;
    min-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    /* Ajuste para centralizar e limitar a largura da coluna de controles */
}

/* Mantém a capinha centralizada */
.capa-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    min-width: 320px;
    height: auto;
    aspect-ratio: 9/19;
    margin: 0 auto;
    transition: max-width 0.3s;
}

.capa-preview img {
    width: 100%;
    display: block;
}

/* NOME NA CAPA */
#texto-nome {
    position: absolute;
    bottom: 27%;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Fla2025', sans-serif;
    /* Fonte padrão */
    color: #ffffff;
    font-size: 35px;

    /* Contorno controlado via JavaScript */
    -webkit-text-stroke: 0px transparent;
    paint-order: stroke fill;
    z-index: 5;
}

/* NÚMERO NA CAPA */
.container-numero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.camada-numero {
    position: absolute;
    top: 300%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 220px;
    line-height: 1;
    font-weight: normal;

    /* Sem contorno no número */
    -webkit-text-stroke: 0 !important;
    paint-order: normal !important;
    color: #ffffff;
    z-index: 4;
}

/* Regras de Cores de times específicas removidas. O Editor agora é livre. */


/* =========================================

   6. CONTROLES EM GRID (ESTILO DASHBOARD)
   ========================================= */
.controles {
    background: #fff;
    padding: 5px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);

    /* A MÁGICA DO GRID ACONTECE AQUI */
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Cria duas colunas iguais */
    gap: 15px;
    /* Espaço entre os itens */
    align-items: end;
    /* Alinha os inputs na base */
}

/* --- ITENS QUE OCUPAM A LINHA INTEIRA (Topo e Botões) --- */
.area-preco,
.label-divisoria,
.seletor-marcas,
.seletor-material,
.controles h3,
/* Títulos caso tenha */
.controles p,
.btn-add-cart,
.botao-comprar,
.link-reset,
#box-previsao-entrega {
    grid-column: span 2;
    /* Força a ocupar as 2 colunas */
    width: 100%;
}

/* --- ESTILOS VISUAIS --- */
.area-preco {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.titulo-capa {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

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

.preco-novo {
    font-size: 28px;
    font-weight: 900;
}

.label-divisoria {
    margin: 15px 0 10px;
    font-size: 11px;
    color: #999;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Botões de Seleção (iPhone, Material) */
.seletor-marcas,
.seletor-material {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.btn-marca {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    border: 1.5px solid #e0e0e0;
    border-radius: 22px;
    background: #fff;
    color: #222;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    margin-right: 8px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    outline: none;
    letter-spacing: 0.02em;
    min-width: 120px;
    max-width: 180px;
    display: inline-block;
}

.btn-marca:last-child {
    margin-right: 0;
}

.btn-marca.ativo,
.btn-marca.active {
    background: #111;
    color: #fff;
    font-weight: 700;
    border: 1.5px solid #111;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.btn-marca:hover {
    border-color: #111;
    color: #111;
    background: #f7f7f7;
}

/* Inputs (Nome, Número, Zoom) */
/* Eles vão ficar lado a lado automaticamente pelo Grid */
.input-group {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="number"],
select,
input[type="range"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    height: 45px;
    /* Altura fixa para alinhar vizinhos */
}

/* Botões Finais Lado a Lado */
.acoes-finais {
    grid-column: span 2;
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-add-cart,
.botao-comprar {
    margin-top: 0;
}

/* Remove margem antiga */

/* =========================================
   AJUSTE MOBILE (VOLTA A SER UMA COLUNA)
   ========================================= */
@media (max-width: 768px) {
    .controles {
        display: flex;
        /* Volta para Flex no celular */
        flex-direction: column;
    }

    .coluna-controles {
        flex: 1;
        max-width: 100%;
        min-width: unset;
        margin-left: 0;
        margin-right: 0;
    }

    .acoes-finais {
        flex-direction: column;
    }
}

/* =========================================
   6.1. PREVISÃO DE ENTREGA (NOVO)
   ========================================= */
#box-previsao-entrega {
    display: flex;
    /* Alinha ícone e texto lado a lado */
    align-items: center;
    /* Centraliza verticalmente */
    justify-content: center;
    /* Centraliza horizontalmente */
    gap: 10px;
    /* Espaço entre o ícone e o texto */

    padding: 12px 20px;
    /* Espaçamento interno */
    margin: 15px 0;
    /* Espaçamento externo (cima/baixo) */

    border-radius: 12px;
    /* Bordas bem arredondadas (Moderno) */
    border: 1px solid transparent;
    /* Prepara para a cor da borda */

    /* Usa a mesma fonte do site */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Sombra leve e chique */

    transition: all 0.3s ease;
    /* Suavidade se mudar de cor */
}

/* O texto dentro da caixa */
#texto-previsao {
    font-weight: 500;
}

/* O Negrito do horário */
#texto-previsao strong {
    font-weight: 800;
    font-size: 1.1em;
    /* Um pouquinho maior que o resto */
}

/* Animação de pulso para o ícone */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.icone-relogio {
    font-size: 18px;
    animation: pulse 2s infinite;
    /* Pulsa a cada 2 segundos */
}

/* =========================================
   8. RESPONSIVO (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .container-produto {
        flex-direction: column;
        align-items: center;
    }

    .coluna-preview,
    .coluna-controles {
        width: 100%;
    }

    .header-top {
        padding: 0 10px;
    }

    /* Mostrar cores mobile acima da imagem */
    #cores-mobile {
        display: block !important;
    }

}

/* --- BOTÃO WHATSAPP "VER MAIS ARTES" --- */
.container-btn-zap {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Centraliza na tela */
    margin-top: 15px;
    /* Espaço em cima */
    margin-bottom: 30px;
    /* Espaço embaixo antes do "Escolha seu Manto" */
}

.btn-whatsapp-artes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Espaço entre o ícone e o texto */
    background-color: #25D366;
    /* Verde Oficial do WhatsApp */
    color: white;
    font-family: 'Poppins', sans-serif;
    /* Ou a fonte do seu site */
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    /* Borda bem redonda */
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    /* Sombra verde suave */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-artes:hover {
    transform: scale(1.05);
    /* Cresce um pouquinho quando passa o mouse */
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
    background-color: #20bd5a;
}

/* =========================================
   SEÇÃO HERO (HOME PAGE)
   ========================================= */

.hero h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #111;
}

/* =========================================
   PAINEL ADMINISTRATIVO (HOME PAGE)
   ========================================= */
.admin-panel {
    padding: 20px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 220px;
}

.admin-header-home {
    text-align: center;
    margin-bottom: 40px;
}

.admin-header-home h2 {
    font-size: 24px;
    color: #111;
    margin-bottom: 10px;
}

.admin-header-home p {
    color: #666;
    font-size: 15px;
}

.grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.card-admin {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-admin:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #e5e5e5;
}

.icon-admin {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
}

.icon-admin.create {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.icon-admin.manage {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-admin h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-admin p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.card-admin button {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.card-admin:hover button {
    background: #333;
    transform: scale(1.05);
}

/* Responsivo para o Painel */
@media (max-width: 768px) {
    .admin-panel {
        margin-left: 0;
        padding-top: 80px;
    }
}

/* =========================================
   FOOTER GERAL - AJUSTE PARA SIDEBAR
   ========================================= */
footer {
    margin-left: 220px;
}

/* =========================================
   CONTAINER BOTÃO WHATSAPP
   ========================================= */
.container-btn-zap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -20px;
    margin-bottom: 40px;
    margin-left: 220px;
}

/* =========================================
   NOVO BANNER HERO (IMAGEM CENTRALIZADA)
   ========================================= */
.hero-banner {
    width: 100%;
    max-width: 1200px;
    /* Alinha com a largura do seu site */
    margin: 20px auto 40px auto;
    /* Centraliza e dá espaço para os times abaixo */
    margin-left: 220px;
    padding: 0 20px;
    /* Respiro lateral para não colar na tela do celular */
}

.hero-banner img {
    width: 100%;
    /* Faz a imagem ocupar o espaço todo */
    height: auto;
    /* Não deixa a imagem achatada */
    display: block;
    border-radius: 15px;
    /* Cantos arredondados para um visual moderno */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Sombra para dar profundidade */
    transition: transform 0.3s ease;
}

/* Efeito suave ao passar o mouse */
.hero-banner img:hover {
    transform: scale(1.01);
}

/* Ajuste para telas de celular */
@media (max-width: 768px) {
    .hero-banner {
        padding: 0 10px;
        margin-top: 10px;
        margin-bottom: 30px;
    }
}

/* =========================================
   REGRAS DO PALMEIRAS (Faltava isso!)
   ========================================= */

/* Camada 1: Base do Número (Fica por baixo) */
.estilo-pal2023 #num-layer-1 {
    font-family: 'Pal-Base' !important;
    /* A cor será definida pelo JavaScript */
    z-index: 1 !important;
}

/* Camada 2: O Escudo (Fica por cima) */
.estilo-pal2023 #num-layer-2 {
    font-family: 'Pal-Escudo' !important;
    /* A cor será definida pelo JavaScript */
    z-index: 2 !important;
}

/* Camadas 3 e 4: Escondidas (O Palmeiras não usa) */
.estilo-pal2023 #num-layer-3,
.estilo-pal2023 #num-layer-4 {
    display: none !important;
}

/* Fonte do Nome */
.estilo-pal2023 #texto-nome {
    font-family: 'Pal-Base', sans-serif !important;
}

/* =========================================
   REGRAS ESPECÍFICAS: SÃO PAULO (3 CAMADAS)
   ========================================= */
.estilo-sp2025 #num-layer-1 {
    z-index: 1 !important;
    /* Fundo (Vermelho) */
}

.estilo-sp2025 #num-layer-2 {
    z-index: 2 !important;
    /* Meio (Branco) */
}

.estilo-sp2025 #num-layer-3 {
    z-index: 3 !important;
    /* Topo (Preto) */
    display: block !important;
}

.estilo-sp2025 #num-layer-4 {
    display: none !important;
    /* Não usa a 4ª camada */
}


/* FONTES SANTOS - Ajustado para bater com o arquivo físico */
@font-face {
    font-family: 'SANTOS2025-Base';
    src: url('Santos/santos-2025-02.otf');
    /* 's' minúsculo e '02' conforme Hostinger */
}

/* FONTES FLUMINENSE - Garantindo o carregamento */
@font-face {
    font-family: 'FLUMINENSE2025-Base';
    src: url('Fluminense/fluminense-2025-1.otf');
}

@font-face {
    font-family: 'FLUMINENSE2025';
    src: url('Fluminense/fluminense-2025-2.otf');
}

/* =========================================
   PÁGINA DE CADASTRO
   ========================================= */
.cadastro-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.cadastro-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.logo-section i {
    font-size: 28px;
    color: #ff6b35;
}

.logo-text {
    letter-spacing: -0.5px;
}

.carrinho-section a {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.carrinho-section a:hover {
    color: #ff6b35;
}

/* MAIN CADASTRO */
.cadastro-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.cadastro-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.cadastro-titulo {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.cadastro-subtitulo {
    font-size: 14px;
    color: #999;
    margin-bottom: 25px;
    font-weight: 400;
}

/* FORMULÁRIO */
.cadastro-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: #bbb;
}

/* SENHA COM TOGGLE */
.senha-input-wrapper {
    position: relative;
    display: flex;
}

.senha-input-wrapper .form-input {
    flex: 1;
    padding-right: 45px;
}

.toggle-senha {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    transition: color 0.3s ease;
    padding: 5px;
}

.toggle-senha:hover {
    color: #ff6b35;
}

/* MENSAGENS DE FEEDBACK */
.mensagem-feedback {
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideIn 0.3s ease;
}

.mensagem-feedback.mensagem-sucesso {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.mensagem-feedback.mensagem-erro {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.mensagem-feedback.mensagem-carregando {
    display: block;
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BOTÃO CRIAR USUÁRIO */
.btn-criar-usuario {
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c53 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-criar-usuario:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-criar-usuario:active {
    transform: translateY(0);
}

.btn-criar-usuario:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* FOOTER DO CADASTRO */
.cadastro-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.cadastro-footer a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cadastro-footer a:hover {
    color: #e55a2a;
    text-decoration: underline;
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 600px) {
    .cadastro-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .cadastro-titulo {
        font-size: 22px;
    }

    .cadastro-subtitulo {
        font-size: 13px;
    }

    .form-input {
        padding: 11px 13px;
        font-size: 14px;
    }

    .cadastro-main {
        padding: 15px;
    }

    .header-content {
        gap: 15px;
    }

    .logo-section {
        font-size: 16px;
    }

    .logo-section i {
        font-size: 24px;
    }
}

/* =========================================
   PÁGINA DE LOGIN (ESTILO GOCASE)
   ========================================= */
.login-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.login-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.logo-section i {
    font-size: 28px;
    color: #0066cc;
}

.icons-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-link {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icon-link:hover {
    color: #0066cc;
}

/* MAIN LOGIN */
.login-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
    text-align: center;
}

.login-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.login-subtitulo {
    font-size: 30px;
    margin-bottom: 30px;
    display: block;
}

/* FORMULÁRIO LOGIN */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* BOTÃO GOOGLE */
.btn-google {
    padding: 13px 20px;
    background-color: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #000;
}

.btn-google i {
    font-size: 18px;
}

.btn-google:hover {
    background-color: #f5f5f5;
    border-color: #0066cc;
    color: #0066cc;
}

/* DIVISOR "OU" */
.divisor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.divisor::before,
.divisor::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e5e5e5;
}

/* INPUT LOGIN */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-input-login {
    padding: 13px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-input-login:focus {
    outline: none;
    border-color: #0066cc;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-input-login::placeholder {
    color: #bbb;
}

/* BOTÃO ENTRAR */
.btn-entrar {
    padding: 13px 20px;
    background-color: #3d3d3d;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-entrar:hover {
    background-color: #2a2a2a;
}

.btn-entrar:active {
    transform: translateY(1px);
}

/* FOOTER DO LOGIN */
.login-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.login-footer a {
    color: #ff4444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #e63333;
    text-decoration: underline;
}

/* RESPONSIVIDADE MOBILE LOGIN */
@media (max-width: 600px) {
    .login-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .login-titulo {
        font-size: 24px;
    }

    .login-subtitulo {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .form-input-login {
        padding: 12px 13px;
        font-size: 14px;
    }

    .btn-google,
    .btn-entrar {
        padding: 12px 18px;
        font-size: 15px;
    }

    .login-main {
        padding: 15px;
    }
}

/* =========================================
   PAINEL ADMINISTRATIVO - SIDEBAR EXPANDIDA
   ========================================= */
.sidebar-admin {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    background-color: #1a1a2e;
    padding: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
}

.sidebar-admin .logo-admin {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-admin .logo-admin img {
    width: 32px;
    height: 32px;
}

.sidebar-admin .logo-admin span {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.sidebar-admin nav {
    flex: 1;
    padding: 15px 0;
    overflow-y: auto;
}

.sidebar-admin nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-admin nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sidebar-admin nav a.active {
    background-color: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border-left-color: #4ade80;
}

.sidebar-admin nav a svg,
.sidebar-admin nav a i {
    width: 20px;
    height: 20px;
    font-size: 18px;
}

/* =========================================
   ÁREA PRINCIPAL DO PAINEL ADMIN
   ========================================= */
.admin-main {
    margin-left: 220px;
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.admin-header p {
    color: #666;
    font-size: 14px;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.btn-admin {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
}

.btn-admin-outline {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.btn-admin-outline:hover {
    background: #f5f5f5;
}

.btn-admin-primary {
    background: #22c55e;
    color: #fff;
}

.btn-admin-primary:hover {
    background: #16a34a;
}

/* =========================================
   CARDS DE MÉTRICAS - DASHBOARD
   ========================================= */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
}

.metric-card .metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.metric-card .metric-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-card .metric-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
}

.metric-card .metric-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.metric-card .metric-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.metric-card .metric-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.metric-card .metric-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.metric-card .metric-icon.yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.metric-card .metric-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.metric-card .metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
}

/* =========================================
   TABELA DO PAINEL ADMIN
   ========================================= */
.admin-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
    overflow: hidden;
    margin-top: 20px;
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.admin-search {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 15px;
    width: 350px;
}

.admin-search input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    margin-left: 10px;
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger-outline:hover {
    background: #fef2f2;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 15px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.admin-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.admin-table tr:hover {
    background: #fafafa;
}

.admin-table .cliente-info {
    display: flex;
    flex-direction: column;
}

.admin-table .cliente-nome {
    font-weight: 600;
    color: #1a1a2e;
}

.admin-table .cliente-itens {
    font-size: 12px;
    color: #999;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.pendente {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.status-badge.pago {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-badge.entregue {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.status-badge.cancelado {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.admin-table .acoes-cell {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: #f5f5f5;
}

.btn-icon.edit:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.btn-icon.delete:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-icon.view:hover {
    border-color: #22c55e;
    color: #22c55e;
}

/* =========================================
   RESPONSIVIDADE PAINEL ADMIN
   ========================================= */
@media (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar-admin {
        width: 70px;
        padding: 10px 0;
    }

    .sidebar-admin .logo-admin span,
    .sidebar-admin nav a span {
        display: none;
    }

    .sidebar-admin nav a {
        justify-content: center;
        padding: 15px;
    }

    .admin-main {
        margin-left: 70px;
        padding: 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
    }

    .admin-search {
        width: 100%;
    }
}

/* =========================================
   NOVO DESIGN DO PAINEL DE CONTROLE OTIMIZADO
   ========================================= */
.coluna-controles {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
}

.card-secao {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.card-titulo {
    font-weight: 800;
    font-size: 13px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

/* Botoes de Upload e Editar */
.upload-edit-botoes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.btn-novo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-upload {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-editar {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.btn-novo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Sliders */
.sliders-grupo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.slider-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.slider-item label {
    font-size: 11px;
    font-weight: 700;
    color: #444;
}

.custom-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: #e0e0e0;
    border-radius: 6px;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.custom-slider::-webkit-slider-thumb:hover {
    background: #5a6edb;
}

/* Seletores Material/Celular */
.grid-material-celular {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.seletor-grupo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seletor-label {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.segmented-control {
    display: flex;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.seg-btn {
    flex: 1;
    padding: 8px 4px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.seg-btn.ativo {
    background: #00C853;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 200, 83, 0.3);
}

/* Selects & Inputs */
.custom-select,
.custom-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    background: #fff;
}

.custom-select:focus,
.custom-input:focus {
    border-color: #667eea;
}

/* Opções de Texto */
.grid-texto-fonte {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid-texto-detalhes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

/* Paleta de Cores */
.cores-paleta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cor-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cor-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cor-personalizada-wrap {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.cor-personalizada-wrap input[type="color"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 0;
    border: none;
}

.cor-personalizada-wrap i {
    font-size: 10px;
    color: #777;
}

/* Checkbox Moderno */
.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    user-select: none;
}

.custom-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 4px;
    transition: all 0.2s;
}

.custom-checkbox-label:hover input~.checkmark {
    background-color: #ccc;
}

.custom-checkbox-label input:checked~.checkmark {
    background-color: #667eea;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox-label input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.area-contorno-card {
    background: #fafafa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Botoes de Acao Finais */
.card-acoes {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

.grid-botoes-acao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-secundario {
    background: #222;
    color: #fff;
}

.btn-primario-largo {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #00C853, #009624);
    color: #fff;
    font-size: 14px;
    padding: 14px;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .upload-edit-botoes {
        grid-template-columns: 1fr;
    }

    .grid-material-celular {
        grid-template-columns: 1fr;
    }

    .grid-texto-fonte,
    .grid-texto-detalhes,
    .area-contorno-card .grid-texto-fonte {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PRODUÇÃO — Painel de Edição de Texto (Fonte, Cor, Contorno)
   ============================================================ */

/* Override para mostrar o painel quando a classe 'visivel' é adicionada via JS */
#controles-tamanho.visivel {
    display: block !important;
}

.modern-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.modern-select:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modern-select:focus {
    outline: none;
    border-color: var(--primary, #e8793b);
    box-shadow: 0 0 0 3px rgba(232, 121, 59, 0.15);
}

.controle-cores-row {
    display: flex;
    gap: 12px;
}

.cor-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cor-item input[type="color"] {
    width: 100%;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cor-item input[type="color"]:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cor-item input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.cor-item input[type="color"]::-webkit-color-swatch {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}
