/* =====================================================
   BARBER LUXURY – ULTRA PREMIUM DARK SYSTEM
   ===================================================== */

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   VARIÁVEIS
========================= */
:root {
    --bg-main: #050505;
    --bg-card: #111111;
    --bg-soft: #1a1a1a;
    --bg-hover: #232323;

    --gold: #d4af37;
    --gold-strong: #f0c75e;
    --gold-dark: #b8962e;

    --text-main: #ffffff;
    --text-muted: #8f8f8f;

    --danger: #ff4d4d;
    --success: #2ecc71;
    --warning: #f1c40f;
    --info: #3498db;

    --radius: 16px;
    --radius-sm: 10px;
}

/* =========================
   BASE
========================= */
body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #141414, #000000 70%);
    color: var(--text-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* LINKS */
a {
    color: var(--gold);
    text-decoration: none;
    transition: .2s ease;
}
a:hover {
    color: var(--gold-strong);
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 40px 24px;
}

/* =========================
   HEADER
========================= */
.header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.header > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header img {
    max-height: 58px;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header span {
    color: var(--gold);
}

.header nav {
    margin-top: 10px;
    font-size: 14px;
}

.header nav a {
    margin-right: 12px;
    font-weight: 500;
}

/* =========================
   TABS
========================= */
.tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all .25s ease;
}

.tab-btn:hover {
    background: var(--bg-hover);
    color: var(--gold);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(212,175,55,.35);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =========================
   CARDS
========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-bottom: 32px;
}

.card {
    background: linear-gradient(145deg, #141414, #0d0d0d);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 15px 40px rgba(0,0,0,.6);
    transition: all .25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 0 0 1px rgba(212,175,55,.4),
        0 20px 50px rgba(0,0,0,.75);
}

.card h3 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.card p {
    font-size: 30px;
    font-weight: 600;
    color: var(--gold);
}

/* =========================
   BADGES
========================= */
.badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(46,204,113,.15);
    color: var(--success);
}

.badge-danger {
    background: rgba(255,77,77,.15);
    color: var(--danger);
}

.badge-warning {
    background: rgba(241,196,15,.15);
    color: var(--warning);
}

/* =========================
   TABELAS
========================= */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.table th,
.table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

.table th {
    background: #0f0f0f;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}

.table tr:hover {
    background: rgba(255,255,255,0.02);
}
/* =========================
   FORMULÁRIOS
========================= */
.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
    letter-spacing: .05em;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-soft);
    color: var(--text-main);
    font-size: 14px;
    transition: all .25s ease;
}

input:focus,
select:focus,
textarea:focus {
    background: #202020;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,55,.25);
    outline: none;
}

/* =========================
   BOTÕES
========================= */
.btn {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    box-shadow: 0 8px 20px rgba(212,175,55,.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-strong), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(212,175,55,.45);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4d4d, #c0392b);
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,77,77,.4);
}

/* =========================
   ALERTAS
========================= */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-size: 14px;
    border-left: 4px solid transparent;
}

.alert-success {
    background: rgba(46,204,113,.12);
    color: var(--success);
    border-left-color: var(--success);
}

.alert-danger {
    background: rgba(255,77,77,.12);
    color: var(--danger);
    border-left-color: var(--danger);
}

.alert-warning {
    background: rgba(241,196,15,.12);
    color: var(--warning);
    border-left-color: var(--warning);
}

/* =========================
   LOGIN
========================= */
.login-box {
    max-width: 420px;
    margin: 100px auto;
    background: linear-gradient(145deg, #141414, #0c0c0c);
    padding: 40px;
    border-radius: 22px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 30px 70px rgba(0,0,0,.8);
    transition: all .3s ease;
}

.login-box:hover {
    box-shadow:
        inset 0 0 0 1px rgba(212,175,55,.35),
        0 35px 90px rgba(0,0,0,.85);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    letter-spacing: 1px;
}

.login-box h2 span {
    color: var(--gold);
}

/* =========================
   TEXTO AUXILIAR
========================= */
.muted {
    color: var(--text-muted);
    font-size: 13px;
}

/* =========================
   FOOTER
========================= */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: .05em;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   EFEITOS EXTRAS PREMIUM
========================= */

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Seleção de texto dourada */
::selection {
    background: var(--gold);
    color: #000;
}

/* Barra de rolagem */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}