/* Área do cliente SFX */
.client-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(160deg, #0c1222 0%, #152238 45%, #0f2847 100%);
    color: #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
}
.client-top {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(12,18,34,0.85);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 20;
}
.client-top-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 64px; gap: 1rem; flex-wrap: wrap; padding: 0.75rem 0;
}
.client-brand {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: #fff; text-decoration: none; font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.client-brand-icon { border-radius: 8px; }
.client-nav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.client-nav a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    padding: 0.45rem 0.85rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
}
.client-nav a:hover, .client-nav a.active {
    background: rgba(232,163,23,0.15); color: #e8a317;
}
.client-main { padding: 2rem 0 3rem; max-width: 960px; }
.client-foot { padding: 1.5rem 0 2rem; color: rgba(255,255,255,0.35); font-size: 0.85rem; }

.client-auth-card {
    max-width: 440px; margin: 1.5rem auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 2rem;
}
.client-wide { max-width: 640px; }
.client-auth-card h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem;
}
.client-lead { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; font-size: 0.95rem; }
.client-form .form-group { margin-bottom: 1rem; }
.client-form label { display: block; font-size: 0.85rem; margin-bottom: 0.35rem; color: rgba(255,255,255,0.8); }
.client-form input, .client-form select, .client-form textarea {
    width: 100%; padding: 0.7rem 0.85rem; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.25);
    color: #fff; font: inherit;
}
.client-form input:disabled { opacity: 0.6; }
.client-form .hint { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.35rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.client-switch { margin-top: 1.25rem; text-align: center; color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.client-switch a { color: #e8a317; font-weight: 600; }
.client-hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 1.25rem 0; }

.alert { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: rgba(220,38,38,0.15); color: #fca5a5; border: 1px solid rgba(220,38,38,0.3); }
.alert-success { background: rgba(5,150,105,0.15); color: #6ee7b7; border: 1px solid rgba(5,150,105,0.3); }

.client-welcome {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.client-welcome h1 { font-family: 'Plus Jakarta Sans', sans-serif; color: #fff; font-size: 1.75rem; margin-bottom: 0.35rem; }
.client-welcome p { color: rgba(255,255,255,0.6); }

.client-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.client-stat {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 1.1rem 1.25rem; text-align: center;
}
.client-stat strong { display: block; font-size: 1.75rem; color: #e8a317; font-family: 'Plus Jakarta Sans', sans-serif; }
.client-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

.client-section { margin-bottom: 2.5rem; }
.client-section h2 {
    font-family: 'Plus Jakarta Sans', sans-serif; color: #fff;
    font-size: 1.15rem; margin-bottom: 1rem;
}
.client-empty {
    background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 12px; padding: 1.25rem; color: rgba(255,255,255,0.5); font-size: 0.95rem;
}
.client-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.client-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 1.25rem;
}
.client-card h3 { color: #fff; font-size: 1rem; margin-bottom: 0.35rem; }
.client-meta { color: #e8a317; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.client-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 0.75rem; }
.progress-bar {
    height: 8px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; margin-bottom: 0.35rem;
}
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, #e8a317, #f0b429); }
.client-card small { color: rgba(255,255,255,0.45); }

.client-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.client-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.client-table th, .client-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); }
.client-table th { background: rgba(0,0,0,0.25); color: rgba(255,255,255,0.7); font-weight: 600; }
.client-table td { color: rgba(255,255,255,0.85); }
.status-pill {
    display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 600; background: rgba(255,255,255,0.1);
}
.status-new { background: rgba(37,99,235,0.25); color: #93c5fd; }
.status-reviewing { background: rgba(232,163,23,0.2); color: #fcd34d; }
.status-quoted { background: rgba(5,150,105,0.2); color: #6ee7b7; }
.status-closed { background: rgba(148,163,184,0.2); color: #cbd5e1; }

.client-docs { list-style: none; padding: 0; margin: 0; }
.client-docs li {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline;
    padding: 0.85rem 1rem; border-radius: 10px; margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.client-docs strong { color: #fff; }
.client-docs span { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.client-docs small { margin-left: auto; color: rgba(255,255,255,0.4); }

@media (max-width: 640px) {
    .client-stats { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
}
