/* Transcertify client area – uses the theme palette when available. */
.tca, .tca-box { --tca-navy: var(--wp--preset--color--navy, #093A6B); --tca-accent: var(--wp--preset--color--accent, #D76F3A); --tca-accent-dark: var(--wp--preset--color--accent-dark, #B5562A); --tca-cream: var(--wp--preset--color--cream, #F5E6DC); --tca-slate: var(--wp--preset--color--slate, #4A6688); }
.tca { display: flex; flex-direction: column; gap: 20px; }
.tca-box { border: 1px solid #DCE4F1; border-radius: 14px; padding: 24px; background: #fff; color: var(--tca-navy); }
.tca-new { background: var(--tca-cream); border-color: transparent; }
.tca-new-summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.tca-new[open] .tca-new-summary { margin-bottom: 16px; }
.tca-muted { color: var(--tca-slate); font-size: 14px; }
.tca-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.tca-field { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; }
.tca-field > label, .tca-field > legend { font-weight: 600; }
.tca-field input[type="text"], .tca-field input[type="date"], .tca-field textarea, .tca-field input[type="file"] { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #C9D5E8; border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.tca-hint { font-size: 13px; color: var(--tca-slate); }
.tca-req { color: var(--tca-accent-dark); }
.tca-inline { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.tca-inline input { margin-top: 5px; }
.tca-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tca-button, .tca-form button.tca-button { display: inline-block; background: var(--tca-accent); color: #fff !important; border: 0; border-radius: 10px; padding: 13px 22px; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; }
.tca-button:hover { background: var(--tca-accent-dark); }
.tca-request-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tca-request-head h3 { margin: 4px 0 0; font-size: 20px; }
.tca-pill { padding: 6px 12px; border-radius: 999px; background: #E8EEF8; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tca-pill--quote { background: var(--tca-accent); color: #fff; }
.tca-pill--delivered { background: var(--tca-navy); color: #fff; }
.tca-pill--cancelled { background: #EEE; color: #555; }
.tca-quote { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--tca-cream); border-radius: 12px; padding: 16px 18px; }
.tca-quote strong { display: block; font-size: 18px; }
.tca-paid { margin-top: 12px; font-weight: 600; }
.tca-files h4 { margin: 18px 0 6px; font-size: 15px; }
.tca-files ul { margin: 0; padding-left: 18px; }
.tca-files--delivery { background: #EEF3FA; border-radius: 12px; padding: 4px 18px 14px; margin-top: 16px; }
.tca-login { background: var(--tca-cream); border: 0; }

.tca-withdraw { margin-top: 16px; border-top: 1px solid #DCE4F1; padding-top: 12px; }
.tca-withdraw summary { cursor: pointer; font-weight: 600; color: var(--tca-slate); }
.tca-withdraw form { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.tca-withdraw textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #C9D5E8; border-radius: 8px; font: inherit; }
.tca-button--secondary, .tca-form button.tca-button--secondary { background: #fff; color: var(--tca-navy) !important; border: 1.5px solid var(--tca-navy); }
.tca-button--secondary:hover { background: var(--tca-navy); color: #fff !important; }
.tca-pill--withdrawal { background: #FCE8E6; color: #8A1C12; }

.tca-inline > span { flex: 1; min-width: 0; }
.tca-note-box { margin: 0; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,0.7); font-size: 15px; }

.tca-fieldset { border: 1px solid #C9D5E8; border-radius: 12px; padding: 16px 18px; margin: 0; display: flex; flex-direction: column; gap: 12px; background: rgba(255,255,255,0.55); }
.tca-fieldset[hidden], .tca-ship-fields[hidden], .tca-business[hidden] { display: none !important; }
.tca-fieldset legend { font-weight: 700; padding: 0 6px; }
.tca-field select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #C9D5E8; border-radius: 8px; background: #fff; font: inherit; color: inherit; }
.tca-field input[type="tel"] { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #C9D5E8; border-radius: 8px; font: inherit; }
.tca-verify { background: var(--tca-cream); border: 0; display: flex; flex-direction: column; gap: 12px; }

.tca-dates { font-weight: 600; font-size: 14px; }

/* Delete my files now */
.tca-delete { margin-top: 16px; border-top: 1px solid #E3E9F2; padding-top: 12px; font-size: 15px; }
.tca-delete summary { cursor: pointer; color: #8A3B1A; font-weight: 600; }
.tca-delete p { margin: 10px 0; }
.tca-button--danger, .tca-delete button.tca-button--danger { background: #9B2C1F; font-size: 16px; padding: 10px 18px; }
.tca-button--danger:hover { background: #7A2318; }

/* Why an account */
.tca-why-account { margin-bottom: 28px; }
.tca-why-account p { margin: 0; }
