/* ===== Estilos base ===== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    overflow-x: hidden; /* evita barra horizontal */
    overflow-y: auto; /* garante rolagem vertical */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0D0D0D, #1A1A2E);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden; /* remove barra horizontal */
    overflow-y: auto; /* garante rolagem vertical */
}

/* ===== Títulos ===== */
h2 {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
}

/* ===== Botões globais ===== */
.btn-success {
    background: linear-gradient(90deg, #0D6EFD, #6C63FF);
    border: none;
    color: #fff;
    font-weight: 600;
}

    .btn-success:hover {
        background: linear-gradient(90deg, #6C63FF, #0D6EFD);
    }

.btn-secondary {
    background-color: #2A2A2A;
    border: none;
    color: #fff;
    font-weight: 500;
}

    .btn-secondary:hover {
        background-color: #444;
    }

.btn-danger {
    background-color: #E53935;
    border: none;
    color: #fff;
    font-weight: 600;
}

    .btn-danger:hover {
        background-color: #C62828;
    }

.btn-warning {
    background-color: #FFB300;
    border: none;
    color: #000;
    font-weight: 600;
}

    .btn-warning:hover {
        background-color: #FFA000;
    }

/* ===== Botões modernos (landing page) ===== */
.btn-modern {
    background-color: #0D6EFD;
    color: #FFFFFF !important;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

    .btn-modern:hover {
        background: linear-gradient(90deg, #0D6EFD, #6C63FF);
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    }

/* ===== Cards ===== */
.card-dashboard {
    background-color: #121212;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border: none;
    color: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card-dashboard:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    }

    .card-dashboard .card-body i {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

/* Cards modernos (landing page) */
.modern-card {
    background: #1C1C1C !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    padding: 3rem !important;
    color: #FFFFFF;
}

/* ===== Variações de cards (indicadores) ===== */
.card-estoque {
    background: linear-gradient(135deg, #0D6EFD, #3F3D9E);
}

.card-entradas {
    background: linear-gradient(135deg, #6C63FF, #3F3D9E);
}

.card-saidas {
    background: linear-gradient(135deg, #3F3D9E, #0D6EFD);
}

.card-saldo {
    background: linear-gradient(135deg, #6C63FF, #0D6EFD);
}

/* ===== Alertas ===== */
.alert-success {
    background-color: #1C1C1C;
    color: #6C63FF;
    border: 1px solid #6C63FF;
}

/* ===== Logo ===== */
.logo-dashboard {
    position: absolute;
    top: 20px;
    right: 30px;
    max-width: 180px;
}

/* ===== Gráficos ===== */
.chart-container {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

/* ===== Seções ===== */
.section-full {
    min-height: 100vh; /* ocupa altura mínima da tela */
    width: 100%;
    padding: 100px 0; /* espaçamento interno */
    box-sizing: border-box;
    display: block; /* fluxo normal, empilha verticalmente */
}

.bg-dark-custom {
    background-color: #1C1C1C !important;
    position: relative;
    z-index: 2;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.3), 0 20px 40px rgba(0,0,0,0.3);
}

/* ===== Blobs decorativos ===== */
.blob {
    position: fixed;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.4;
    border-radius: 50%;
}

.blob-blue {
    top: -10%;
    left: -10%;
    width: 550px;
    height: 550px;
    background-color: #0D6EFD;
}

.blob-purple {
    bottom: -10%;
    right: -10%;
    width: 650px;
    height: 650px;
    background-color: #6C63FF;
}

/* ===== Textos auxiliares ===== */
.text-muted {
    color: #CCCCCC !important;
}

.text-brand-blue {
    color: #0D6EFD;
}

.text-brand-purple {
    color: #6C63FF;
}

/* ===== Glass effect ===== */
.glass-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* ===== Carrossel ===== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 1rem;
}
/* ===== Fundo escuro customizado (landing page) ===== */
.bg-dark-custom {
    background-color: #1C1C1C !important;
    position: relative;
    z-index: 2;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.3), 0 20px 40px rgba(0,0,0,0.3);
}

/* ===== Blobs decorativos ===== */
.blob {
    position: fixed;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.4;
    border-radius: 50%;
}

.blob-blue {
    top: -10%;
    left: -10%;
    width: 550px;
    height: 550px;
    background-color: #0D6EFD;
}

.blob-purple {
    bottom: -10%;
    right: -10%;
    width: 650px;
    height: 650px;
    background-color: #6C63FF;
}

/* ===== Cards modernos (landing page) ===== */
.modern-card {
    background: #1C1C1C !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    padding: 3rem !important;
    color: #FFFFFF;
}

/* ===== Botões modernos ===== */
.btn-modern {
    background-color: #0D6EFD;
    color: #FFFFFF !important;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

    .btn-modern:hover {
        background: linear-gradient(90deg, #0D6EFD, #6C63FF);
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    }

/* ===== Textos auxiliares ===== */
.text-muted {
    color: #CCCCCC !important;
}

.text-brand-blue {
    color: #0D6EFD;
}

.text-brand-purple {
    color: #6C63FF;
}

/* ===== Glass effect ===== */
.glass-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* ===== Carrossel ===== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 1rem;
}
