@import url('workshops-inscricao.css');

.wsb-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .wsb-grid { grid-template-columns: minmax(0, 1fr) 320px; } .wsb-summary { position: sticky; top: 6rem; } }

.wsb-fade { animation: wsb-fade-up .35s ease both; }
@keyframes wsb-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wsb-stepper__circle { width: 2rem; height: 2rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; border: 2px solid #d1d5db; background: #fff; color: #9ca3af; transition: background .3s, border-color .3s, color .3s; }
.wsb-stepper__circle--active { border-color: #D18F31; background: #D18F31; color: #fff; box-shadow: 0 0 0 4px rgba(209,143,49,.18); }
.wsb-stepper__circle--done { border-color: #681919; background: #681919; color: #fff; }
.wsb-stepper__label { margin-top: .35rem; font-size: .7rem; font-weight: 600; text-align: center; max-width: 6rem; }
.wsb-stepper__label--active { color: #D18F31; }
.wsb-stepper__label--done { color: #681919; }
.wsb-stepper__label--pending { color: #9ca3af; }
.wsb-stepper__line-wrap { padding: 0 .25rem; margin-bottom: 1.25rem; }
.wsb-stepper__line { display: block; height: 2px; background: #e5e7eb; position: relative; overflow: hidden; }
.wsb-stepper__line::after { content: ''; position: absolute; inset: 0; background: #681919; transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.wsb-stepper__line--filled::after { transform: scaleX(1); }

.wsb-notice { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1.25rem; font-size: .9rem; }
.wsb-result { margin-top: 1.25rem; padding: 1rem; border-radius: .75rem; background: #fdf8ef; border: 1px solid #f0d9a8; animation: wsb-fade-up .3s ease both; }
.wsb-result__name { font-size: 1.25rem; font-weight: 700; color: #681919; letter-spacing: .03em; }
.wsb-btn-ghost { padding: .75rem 1.25rem; border-radius: .5rem; border: 1px solid #d1d5db; background: #fff; color: #374151; font-weight: 600; cursor: pointer; }
.wsb-btn-ghost:hover { background: #f9fafb; }
.wsb-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: #6b7280; text-decoration: none; }
.wsb-back:hover { color: #681919; }

.wsb-account { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid #e5e7eb; border-radius: .75rem; background: #f9fafb; }
.wsb-state:not(.hidden) { animation: wsb-fade-up .3s ease both; }
.wsb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.wsb-summary__row { display: flex; justify-content: space-between; gap: .75rem; font-size: .85rem; color: #6b7280; padding: .4rem 0; border-top: 1px solid #f3f4f6; }
.wsb-summary__row strong { color: #374151; text-align: right; }
.wsb-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5rem; padding-top: .75rem; border-top: 1px solid #e5e7eb; font-weight: 700; color: #374151; }
.wsb-summary__total strong { font-size: 1.35rem; color: #D18F31; }

#wsi-modal:not(.hidden) .wsb-modal__box { animation: wsb-fade-up .2s ease both; }

.wsb-methods { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 480px) { .wsb-methods { grid-template-columns: 1fr 1fr; } }
.wsb-method { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1rem; border: 2px solid #e5e7eb; border-radius: .75rem; text-align: center; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.wsb-method--active { border-color: #D18F31; background: #fdf8ef; box-shadow: 0 0 0 3px rgba(209,143,49,.15); }
.wsb-method--disabled { opacity: .55; cursor: not-allowed; background: #f9fafb; }
.wsc-label { display: block; font-size: .75rem; font-weight: 600; color: #3f0201; margin-bottom: .25rem; }
.wsc-field { width: 100%; height: 42px; padding: 0 .75rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; }
@media (prefers-reduced-motion: reduce) {
    .wsb-method { transition: none; }
    .wsb-fade, .wsb-result, .wsb-state, .wsb-modal__box { animation: none !important; }
    .wsb-stepper__line::after, .wsb-stepper__circle { transition: none; }
}
