/* LANDINGPAGE*/
:root {
    --primary-color: #d4af37; /* Dourado */
    --bg-dark: #121212;
    --bg-light: #1e1e1e;
    --text-light: #f4f4f4;
    --text-gray: #aaaaaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3 { 
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
}

/* Navbar */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo { 
    font-size: 24px; 
    font-weight: bold; 
    color: var(--primary-color); 
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 300;
    transition: 0.3s;
}

.nav-links a:hover { 
    color: var(--primary-color); 
}

.btn-login {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 { 
    font-size: 4rem; 
    margin-bottom: 10px; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    color: var(--text-gray); 
}

.btn-agendar {
    background-color: var(--primary-color);
    color: #000;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s transform;
}

.btn-agendar:hover { 
    transform: scale(1.05); 
}

/* Seções Gerais */
section { 
    padding: 80px 5%; 
    text-align: center; 
}

.section-title { 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 40px; 
}

.section-dark {
    background-color: #161616;
}

/* Estilos dos Carrosséis (Swiper) */
.swiper { 
    width: 100%; 
    padding-bottom: 50px !important; 
}

.card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}

.card:hover { 
    border-color: var(--primary-color); 
    transform: translateY(-5px); 
}

.card img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    border-radius: 8px; 
    margin-bottom: 15px; 
}

.card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 10px; 
}

.card p { 
    color: var(--text-gray); 
    font-size: 0.9rem; 
    margin-bottom: 15px; 
}

.card .price { 
    font-size: 1.2rem; 
    color: var(--primary-color); 
    font-weight: bold; 
    margin-bottom: 15px; 
}

.btn-card {
    display: inline-block;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-card:hover { 
    background: var(--text-light); 
    color: #000; 
}

/* Footer */
.main-footer {
    background-color: #0a0a0a;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid #333;
}

.social-icons a { 
    color: var(--text-light); 
    font-size: 1.5rem; 
    margin: 0 10px; 
    transition: 0.3s; 
}

.social-icons a:hover { 
    color: var(--primary-color); 
}

footer p { 
    color: var(--text-gray); 
    margin-top: 20px; 
    font-size: 0.9rem; 
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
}

/* =========================================
   ESTILOS PARA LOGIN, CADASTRO E PAINÉIS
   ========================================= */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-4.0.3') center/cover;
}

.auth-box {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.auth-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: #121212;
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-light);
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 20px;
}

.auth-links {
    margin-top: 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.auth-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}

.auth-links a:hover {
    color: var(--primary-color);
}

/* =========================================
   ESTILOS PARA OS DASHBOARDS (SISTEMA)
   ========================================= */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-dark);
}

/* Menu Lateral */
.sidebar nav.sidebar-nav {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background-color: transparent;
    border: none;
}

.sidebar .logo {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.sidebar-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: var(--primary-color);
    color: #000;
    font-weight: 600;
}

/* Área Principal */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.topbar .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Cards de Resumo */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.stat-card .stat-title {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Tabelas do Dashboard */
.panel {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.panel h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
}

th {
    color: var(--text-gray);
    font-weight: normal;
}

.status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status.pendente { background: #332b00; color: #ffcc00; }
.status.concluido { background: #003311; color: #00cc44; }
.status.cancelado { background: #330000; color: #cc0000; }
/* =========================================
   ESTILOS PREMIUM PDV (GLASSMORPHISM)
   ========================================= */
:root {
    --pdv-gradient: linear-gradient(135deg, #1a1a1c 0%, #0a0a0b 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --pdv-gold: #d4af37;
    --pdv-blue: #007aff;
    --pdv-success: #34c759;
}

#pdv_container {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: #000;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

#pdv_sidebar {
    width: 80px;
    background: #0a0a0b;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    position: relative;
    flex-shrink: 0;
}

#pdv_sidebar:hover { width: 220px; }

#pdv_sidebar .logo {
    width: 45px;
    height: 45px;
    background: var(--pdv-gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pdv-nav { width: 100%; padding: 0 10px; }
.pdv-nav a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #555;
    text-decoration: none !important;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: 0.3s;
    overflow: hidden;
    white-space: nowrap;
    position: relative !important;
}

.pdv-nav a i { font-size: 1.2rem; min-width: 40px; text-align: center; }
.pdv-nav a span { opacity: 0; transition: 0.2s; margin-left: 10px; }
#pdv_sidebar:hover .pdv-nav a span { opacity: 1; }

.pdv-nav a:hover, .pdv-nav a.active {
    background: var(--glass-bg);
    color: var(--pdv-gold);
}

#pdv_main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--pdv-gradient);
    position: relative;
    overflow: hidden;
}

.pdv-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    justify-content: space-between;
    flex-shrink: 0;
    background: #0a0a0b;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.search-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    width: 350px;
    transition: 0.3s;
}

.search-wrapper:focus-within {
    border-color: var(--pdv-gold);
    background: rgba(255, 255, 255, 0.08);
}

.search-wrapper input {
    background: transparent;
    border: none;
    color: #fff;
    margin-left: 12px;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

.search-wrapper input::placeholder { color: #bbb; }

/* Item Tiles (Grid) */
.items-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 160px));
    gap: 15px;
    padding: 20px 30px 30px 30px;
    overflow-y: auto;
    align-content: start;
}

.item-tile {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.item-tile:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--pdv-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--pdv-gold);
}

.item-tile.product .tile-icon { color: var(--pdv-blue); background: rgba(0, 122, 255, 0.1); }

.item-tile h4 { 
    font-size: 0.9rem; 
    margin: 8px 0; 
    color: #fff; 
    font-weight: 500;
}

.item-tile .price-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--pdv-gold);
}

/* Sidebar Right (Cart) */
.pdv-cart-panel {
    width: 400px;
    background: #000;
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cart-list {
    flex: 1;
    overflow-y: auto;
}

.cart-card {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    transition: 0.3s;
}

.cart-card:hover { border-color: var(--glass-border); }

.cart-card .info { flex: 1; }
.cart-card .info h5 { margin: 0; color: #fff; }
.cart-card .info small { color: #666; }

.cart-card .controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-circle:hover { background: #fff; color: #000; }

.cart-summary {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #888;
}

.summary-row.total {
    color: #fff;
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    margin-top: 10px;
}

.btn-pay {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    background: var(--pdv-gold);
    color: #000;
    border: none;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: 15px;
}

.btn-pay:hover { 
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

/* Modal Premium */
.premium-blur {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(15px);
    z-index: 2000;
}

.premium-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #0a0a0b;
    border-radius: 30px;
    padding: 50px;
    width: 500px;
    border: 1px solid var(--glass-border);
    z-index: 2100;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.premium-modal h2 {
    color: var(--pdv-gold);
    margin-bottom: 30px;
    font-size: 2.2rem;
    text-align: center;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.pay-opt {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.pay-opt:hover, .pay-opt.active {
    border-color: var(--pdv-gold);
    background: rgba(212, 175, 55, 0.05);
}

.pay-opt i { display: block; font-size: 1.5rem; margin-bottom: 10px; color: var(--pdv-gold); }

.final-total {
    background: #000;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.final-total strong { font-size: 2.5rem; font-family: 'Oswald'; color: var(--pdv-success); }
.modal-checkout {
    display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
    background:#1a1a1a; padding:40px; border-radius:15px; z-index:1100; width:450px;
    border:1px solid #333; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-summary {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-checkout {
    background: #00cc44;
    color: #fff;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 10px;
}