/* ============================================================
   Meus Apês — PWA da limpeza (complementa guest.css)
   ============================================================ */

.c-body { --accent: #34D399; }
.c-glow {
    background: radial-gradient(60% 60% at 50% 0%, rgba(52, 211, 153, .30), rgba(26, 42, 58, .14) 45%, transparent 70%);
}

img.g-logo.c-logo {
    object-fit: cover;
    padding: 0;
    background: var(--navy);
    border-radius: 12px;
}

.c-nav-form { display: contents; }
.c-nav-form button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    min-height: 54px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-radius: 14px;
}

.c-hello { margin: .2rem 0 1rem; }
.c-hello h1 { font-size: 1.35rem; }
.c-back {
    display: inline-block;
    margin: .2rem 0 .7rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy-2);
}

.c-section-title {
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 1.4rem 0 .6rem;
}

/* ---------------- cards de serviço ---------------- */
.c-job {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .9rem 1rem;
    margin-bottom: .6rem;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
}
.c-job:hover { text-decoration: none; border-color: var(--navy-3); }
.c-job.is-late { border-left: 4px solid var(--amber); }
.c-job.is-done { opacity: .92; }

.c-job-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.c-job-top strong { font-size: 1.02rem; }
.c-job-sub { font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.c-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
    font-size: .76rem;
    color: var(--muted);
}
.c-alert { color: #B45309; font-weight: 700; }

.c-badge {
    font-size: .7rem;
    font-weight: 800;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: #EEF2F7;
    color: var(--navy-2);
    white-space: nowrap;
}
.c-badge.is-live { background: #E0F2FE; color: #0369A1; }
.c-badge.is-done { background: #DCFCE7; color: #15803D; }

.c-empty { text-align: center; padding: 2rem 1.2rem; }
.c-empty-ico { font-size: 2.6rem; display: block; margin-bottom: .4rem; }

/* ---------------- cabeçalho do serviço ---------------- */
.c-head h1 { font-size: 1.25rem; }
.c-head .c-job-top { align-items: flex-start; }

/* ---------------- código de acesso ---------------- */
.c-codes { display: grid; gap: .6rem; margin-bottom: .7rem; }
.c-code {
    border: 1px dashed #CBD5E1;
    border-radius: 14px;
    padding: .7rem .8rem;
    background: #F8FAFC;
}
.c-code-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.c-code-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .15rem; }
.c-code-value {
    font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--navy);
}
.c-code-hint { font-size: .76rem; color: var(--muted); margin-top: .2rem; }
.c-instructions {
    margin-top: .7rem;
    padding-top: .6rem;
    border-top: 1px solid var(--line);
    font-size: .82rem;
    color: var(--muted);
    display: grid;
    gap: .2rem;
}

/* ---------------- progresso / setores ---------------- */
.c-progress { margin-bottom: .9rem; }
.c-progress-text { font-size: .86rem; margin-bottom: .35rem; }
.c-bar { height: 9px; border-radius: 999px; background: #E2E8F0; overflow: hidden; }
.c-bar span { display: block; height: 100%; background: linear-gradient(90deg, #34D399, #10B981); border-radius: 999px; transition: width .3s; }

.c-sector { border-top: 1px solid var(--line); padding: .8rem 0; }
.c-sector:first-of-type { border-top: 0; }
.c-sector-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }

.c-thumbs { display: flex; gap: .45rem; flex-wrap: wrap; margin: .5rem 0; }
.c-thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.c-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-thumb form { position: absolute; top: 3px; right: 3px; }
.c-thumb-del {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: .7rem;
    line-height: 1;
    cursor: pointer;
}

.c-upload { display: grid; gap: .45rem; margin-top: .35rem; }
.c-file { position: relative; display: block; }
.c-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.c-file span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1.5px dashed #94A3B8;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy-2);
    background: #F8FAFC;
}
.c-file.has-file span { border-color: var(--green); background: #ECFDF5; color: #047857; }
.c-note { min-height: 44px; }

/* ---------------- problemas ---------------- */
.c-issue { border-top: 1px solid var(--line); padding: .7rem 0; }
.c-issue:first-child { border-top: 0; }
.c-issue.is-resolved { opacity: .65; }
.c-issue-head { display: flex; justify-content: space-between; gap: .5rem; }
.c-issue-photo { max-width: 100%; border-radius: 12px; margin-top: .4rem; }
.c-issue-form .g-field { margin-bottom: .6rem; }

/* ---------------- botões ---------------- */
.c-start { margin: 1rem 0 .4rem; }
.c-btn-start { width: 100%; min-height: 54px; font-size: 1.02rem; }
.c-btn-finish {
    width: 100%;
    min-height: 56px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #34D399, #059669);
    box-shadow: 0 12px 26px rgba(5, 150, 105, .28);
}
.c-finish { margin: 1.4rem 0 .6rem; }
.c-done { border-left: 4px solid var(--green); }
.c-input-code { font-size: 1.6rem; letter-spacing: .3em; text-align: center; font-weight: 800; }
