:root {
    --bs-body-bg: #0a0a0f;
    --bs-body-color: #d0d0e0;
    --bs-border-color: #2a2a3a;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

html { background: #0a0a0f; }

body {
    background: transparent;
    color: #d0d0e0;
    position: relative;
    z-index: 0;
}

/* Wrapper que empurra o footer para baixo */
.layout-flex {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar / Header */
.bg-darker { background-color: rgba(5, 5, 10, 0.75) !important; }

/* Cards com fundo escuro */
.bg-card { background-color: rgba(10, 10, 15, 0.55) !important; }

/* Tabelas dark transparentes */
.table-dark { --bs-table-bg: transparent; --bs-table-hover-bg: rgba(255,255,255,0.04); }

/* Footer transparente */
.site-footer, footer { background-color: rgba(5, 5, 10, 0.75) !important; }

/* Inputs dark */
.form-control-dark {
    background-color: #1a1a24;
    border-color: #2a2a3a;
    color: #d0d0e0;
}
.form-control-dark:focus {
    background-color: #1a1a24;
    border-color: #c0392b;
    color: #d0d0e0;
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.25);
}
.form-control-dark::placeholder { color: #5a5a7a; }

/* Hero */
.hero-section {
    background: linear-gradient(135deg, rgba(5,5,10,0.6) 0%, rgba(26,5,5,0.6) 50%, rgba(5,5,10,0.6) 100%);
    border-bottom: 1px solid #2a2a3a;
}

/* Section title */
.section-title {
    color: #f0c040;
    border-bottom: 1px solid #2a2a3a;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* List group dark */
.list-group-item.bg-transparent { color: #d0d0e0; }

/* Blazor error */
#blazor-error-ui {
    display: none;
}
#blazor-error-ui.show { display: block; }

/* Background image */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background-image: url('/assets/1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0a0f;
    filter: brightness(0.25);
}

/* Dark gradient overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(10,10,15,0.4) 40%, rgba(0,0,0,0.7) 100%);
}
