/* FotoLab - Estilos base */
:root {
    --bg:        #0f0f0f;
    --bg2:       #1a1a1a;
    --bg3:       #242424;
    --border:    #2e2e2e;
    --text:      #f0f0f0;
    --text2:     #999;
    --accent:    #c084fc;
    --accent2:   #a855f7;
    --danger:    #f87171;
    --success:   #4ade80;
    --radius:    10px;
    --font:      'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.header {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Botões */
.btn-primary {
    background: var(--accent);
    color: #000;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
}
.btn-primary:hover { background: var(--accent2); text-decoration: none; }
.btn-full { width: 100%; text-align: center; padding: 12px; font-size: 15px; }
.btn-link { color: var(--text2); font-size: 14px; }

/* Auth */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}
.auth-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    width: 100%;
    max-width: 400px;
}
.auth-sub {
    color: var(--text2);
    margin-top: 6px;
    margin-bottom: 28px;
    font-size: 14px;
}
.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text2);
}

/* Campos */
.campo {
    margin-bottom: 18px;
}
.campo label {
    display: block;
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 6px;
}
.campo input {
    width: 100%;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 10px 14px;
    font-size: 15px;
    outline: none;
}
.campo input:focus { border-color: var(--accent); }

/* Alertas */
.alert-erro {
    background: rgba(248,113,113,0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 18px;
}
.alert-ok {
    background: rgba(74,222,128,0.1);
    border: 1px solid var(--success);
    color: var(--success);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 18px;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.timeline-item {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.2s;
    color: var(--text);
}
.timeline-item:hover {
    border-color: var(--accent);
    text-decoration: none;
}
.timeline-mes { font-size: 16px; font-weight: 600; }
.timeline-ano { font-size: 13px; color: var(--text2); }
.timeline-total { font-size: 12px; color: var(--accent); margin-top: 8px; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text2);
}
.empty-state p { margin-bottom: 20px; font-size: 16px; }

/* Mobile */
@media (max-width: 600px) {
    .header-inner { padding: 0; }
    .container { padding: 20px 16px; }
    .auth-box { padding: 28px 20px; }
}
