@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg: #050505;
    --card: #111111;
    --card-hover: #161616;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.2);
    --text-main: #ffffff;
    --text-dim: #888888;
    --border: #222222;
    --success: #10b981;
    --danger: #ff4757;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.content {
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
}

/* Menu Moderno Responsivo */
.menu-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.dots-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dots-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.dropdown {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    background: #111111;
    border: 1px solid var(--border);
    border-radius: 18px;
    width: 220px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    padding: 8px;
    animation: fadeIn 0.2s ease-out;
}

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

.dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: 0.2s;
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Cards de Métricas Responsivos */
.balance-card {
    background: linear-gradient(145deg, #111111, #080808);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.balance-card h1 {
    font-size: 36px;
    margin: 10px 0;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.metric-item {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
}

/* Tabelas Responsivas */
.table-container {
    width: 100%;
    overflow-x: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

th {
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Botões e Inputs */
button {
    background: var(--text-main);
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

input {
    background: #000;
    border: 1px solid var(--border);
    color: white;
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    font-size: 14px;
}

/* MEDIA QUERIES PARA COMPUTADOR */
@media (min-width: 768px) {
    .content {
        padding: 60px 20px;
    }

    .balance-card {
        padding: 50px;
        border-radius: 30px;
    }

    .balance-card h1 {
        font-size: 48px;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    button {
        width: auto;
    }

    .menu-container {
        top: 30px;
        right: 30px;
    }
}

/* Estilos de Status */
.status-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-paid { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-pending { background: rgba(255, 165, 0, 0.1); color: #ffa500; }
