/* GT Service Desk: form and status box. Uses theme colours where the theme sets them. */
.gtsd-box { max-width: 760px; margin-inline: auto; }
.gtsd-title { margin: 0 0 1rem; }
.gtsd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.gtsd-field { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .35rem; }
.gtsd-field--textarea, .gtsd-field--service, .gtsd-field--consent { grid-column: 1 / -1; }
.gtsd-field label { font-weight: 600; font-size: .95em; }
.gtsd-field--consent label { font-weight: 400; flex-direction: row; display: flex; gap: .5rem; align-items: flex-start; }
.gtsd-field input, .gtsd-field select, .gtsd-field textarea { width: 100%; box-sizing: border-box; padding: .7em .8em; font: inherit; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); border-radius: 6px; background: transparent; color: inherit; }
.gtsd-field--consent input { width: auto; }
.gtsd-field input:focus-visible, .gtsd-field select:focus-visible, .gtsd-field textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.gtsd-req { color: #b42318; }
.gtsd-hint { font-size: .85em; min-height: 1.2em; }
.gtsd-hint.is-bad { color: #b42318; }
.gtsd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gtsd-notice { padding: 1rem 1.25rem; border-radius: 8px; margin: 0 0 1.25rem; }
.gtsd-notice p { margin: .25rem 0; }
.gtsd-notice--ok { background: #e7f6ec; color: #14532d; }
.gtsd-notice--error { background: #fdecea; color: #7a1c13; }
.gtsd-notice ul { margin: 0; padding-left: 1.2em; }
.gtsd-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.gtsd-steps li { padding: .3em .7em; border-radius: 99px; font-size: .85em; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); opacity: .6; }
.gtsd-steps li.is-done { opacity: 1; }
.gtsd-steps li.is-now { opacity: 1; font-weight: 700; background: currentColor; }
.gtsd-steps li.is-now { background: #14532d; color: #fff; border-color: #14532d; }
@media (max-width: 600px) { .gtsd-grid { grid-template-columns: 1fr; } }

/* Fields an add-on hides with the hidden attribute stay hidden whatever the theme does. */
.gtsd-form [hidden] { display: none !important; }
