:root {
    --dbank-appt-blue: #073f8c;
    --dbank-appt-blue-2: #0b57b7;
    --dbank-appt-ink: #10233e;
    --dbank-appt-muted: #607087;
    --dbank-appt-line: #dfe7f3;
    --dbank-appt-surface: #f5f8fd;
    --dbank-appt-yellow: #fdbb30;
}

.dbank-appt-is-open {
    overflow: hidden !important;
}

.dbank-appt-open {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dbank-appt-blue-2), var(--dbank-appt-blue));
    box-shadow: 0 14px 34px rgba(7, 63, 140, .24);
    color: #fff;
    font-family: Geologica, Ubuntu, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dbank-appt-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(7, 63, 140, .31);
}

.dbank-appt-open:focus-visible {
    outline: 3px solid rgba(253, 187, 48, .72);
    outline-offset: 3px;
}

.dbank-appt-open > svg {
    width: 20px;
    height: 20px;
}

.dbank-appt-open--floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    justify-content: flex-start;
    min-width: 226px;
    min-height: 66px;
    padding: 9px 18px 9px 10px;
    text-align: left;
}

.dbank-appt-open__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: var(--dbank-appt-yellow);
}

.dbank-appt-open__icon svg {
    width: 24px;
    height: 24px;
}

.dbank-appt-open__copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.dbank-appt-open__copy strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.1;
}

.dbank-appt-open__copy small {
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 400;
}

.dbank-appt[hidden],
.dbank-appt [hidden] {
    display: none !important;
}

.dbank-appt {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    justify-content: flex-end;
    color: var(--dbank-appt-ink);
    font-family: Geologica, Ubuntu, system-ui, sans-serif;
}

.dbank-appt__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 19, 39, .56);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .26s ease;
}

.dbank-appt__panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    background:
        radial-gradient(circle at 100% 0, rgba(42, 112, 201, .11), transparent 270px),
        #fff;
    box-shadow: -24px 0 70px rgba(5, 29, 64, .22);
    outline: none;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.22, .75, .24, 1);
}

.dbank-appt.is-open .dbank-appt__backdrop {
    opacity: 1;
}

.dbank-appt.is-open .dbank-appt__panel {
    transform: translateX(0);
}

.dbank-appt__header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 12px 28px;
    border-bottom: 1px solid rgba(223, 231, 243, .9);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
}

.dbank-appt__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--dbank-appt-blue);
    font-size: 15px;
    font-weight: 650;
}

.dbank-appt__brand-text {
    max-width: 560px;
    line-height: 1.35;
}

.dbank-appt__brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--dbank-appt-blue);
    color: #fff;
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
}

.dbank-appt__close {
    appearance: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 50%;
    background: #fff;
    color: var(--dbank-appt-ink);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.dbank-appt__close:hover {
    background: var(--dbank-appt-surface);
    transform: rotate(4deg);
}

.dbank-appt__close svg {
    width: 22px;
    height: 22px;
}

.dbank-appt__body {
    padding: 38px 42px 48px;
}

.dbank-appt__eyebrow,
.dbank-appt__step-kicker {
    display: block;
    margin: 0 0 7px;
    color: var(--dbank-appt-blue-2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dbank-appt__step-heading h3,
.dbank-appt__success h3 {
    margin: 0;
    color: var(--dbank-appt-ink);
    font-family: Geologica, Ubuntu, system-ui, sans-serif;
    font-weight: 650;
    letter-spacing: -.035em;
}

.dbank-appt__progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 27px;
    padding: 0;
    list-style: none;
}

.dbank-appt__progress::before {
    position: absolute;
    top: 15px;
    right: 16.667%;
    left: 16.667%;
    height: 1px;
    background: var(--dbank-appt-line);
    content: "";
}

.dbank-appt__progress li {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    color: #8a98aa;
}

.dbank-appt__progress span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.dbank-appt__progress small {
    font-size: 11px;
    font-weight: 600;
}

.dbank-appt__progress li.is-active,
.dbank-appt__progress li.is-complete {
    color: var(--dbank-appt-blue);
}

.dbank-appt__progress li.is-active span {
    border-color: var(--dbank-appt-blue);
    background: var(--dbank-appt-blue);
    box-shadow: 0 0 0 5px rgba(7, 63, 140, .09);
    color: #fff;
}

.dbank-appt__progress li.is-complete span {
    border-color: #9fc3ed;
    background: #e9f3ff;
}

.dbank-appt__step {
    animation: dbank-appt-fade .24s ease;
}

@keyframes dbank-appt-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dbank-appt__step-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.dbank-appt__step-heading h3 {
    font-size: 25px;
    line-height: 1.18;
}

.dbank-appt__office-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, .6fr);
    gap: 10px;
    margin-bottom: 14px;
}

.dbank-appt__location {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    margin: -7px 0 13px;
    padding: 10px 12px;
    border: 1px solid #dce7f5;
    border-radius: 16px;
    background: #f7faff;
}

.dbank-appt__location-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e8f2ff;
    color: var(--dbank-appt-blue);
}

.dbank-appt__location-icon svg {
    width: 21px;
    height: 21px;
}

.dbank-appt__location-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.dbank-appt__location-copy strong {
    color: var(--dbank-appt-ink);
    font-size: 12px;
    line-height: 1.35;
}

.dbank-appt__location-copy small,
.dbank-appt__location-status {
    color: #718197;
    font-size: 10px;
    line-height: 1.4;
}

.dbank-appt__location-status {
    grid-column: 2 / -1;
    color: #3c6f59;
}

.dbank-appt__location.is-error .dbank-appt__location-status {
    color: #a43e32;
}

.dbank-appt__location.is-success {
    border-color: #cce8d9;
    background: #f3fbf7;
}

.dbank-appt__location-button {
    appearance: none;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #b9cce4;
    border-radius: 999px;
    background: #fff;
    color: var(--dbank-appt-blue);
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
}

.dbank-appt__search,
.dbank-appt__select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.dbank-appt__search svg {
    position: absolute;
    left: 15px;
    z-index: 1;
    width: 20px;
    height: 20px;
    color: #718197;
    pointer-events: none;
}

.dbank-appt__search input,
.dbank-appt__select-wrap select,
.dbank-appt__field input,
.dbank-appt__other-date input {
    width: 100%;
    height: 50px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 14px;
    background: #fff;
    color: var(--dbank-appt-ink);
    font: inherit;
    font-size: 15px;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dbank-appt__search input {
    padding: 0 15px 0 44px;
}

.dbank-appt__select-wrap select {
    appearance: none;
    padding: 0 38px 0 14px;
    background-image: linear-gradient(45deg, transparent 50%, #6c7b8e 50%), linear-gradient(135deg, #6c7b8e 50%, transparent 50%);
    background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.dbank-appt__search input:focus,
.dbank-appt__select-wrap select:focus,
.dbank-appt__field input:focus,
.dbank-appt__other-date input:focus {
    border-color: #74a6e1;
    box-shadow: 0 0 0 4px rgba(11, 87, 183, .1);
}

.dbank-appt__office-list {
    display: grid;
    max-height: 354px;
    overflow: auto;
    gap: 9px;
    padding: 2px 3px 2px 2px;
    overscroll-behavior: contain;
}

.dbank-appt__office {
    appearance: none;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 27px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 18px;
    background: #fff;
    color: var(--dbank-appt-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.dbank-appt__office:hover {
    border-color: #afc9eb;
    background: #f9fbfe;
    transform: translateY(-1px);
}

.dbank-appt__office.is-selected {
    border-color: #77a5dd;
    background: #f0f6ff;
    box-shadow: inset 0 0 0 1px #77a5dd;
}

.dbank-appt__office-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #edf4fd;
    color: var(--dbank-appt-blue);
}

.dbank-appt__office-icon svg {
    width: 23px;
    height: 23px;
}

.dbank-appt__office-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.dbank-appt__office-copy strong {
    overflow: hidden;
    color: var(--dbank-appt-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbank-appt__office-copy small,
.dbank-appt__office-copy em {
    overflow: hidden;
    color: var(--dbank-appt-muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dbank-appt__office-copy em {
    color: #3c7a59;
    font-size: 11px;
}

.dbank-appt__office-check {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid #cbd8e8;
    border-radius: 50%;
    background: #fff;
    color: transparent;
}

.dbank-appt__office-check svg {
    width: 15px;
    height: 15px;
}

.dbank-appt__office.is-selected .dbank-appt__office-check {
    border-color: var(--dbank-appt-blue);
    background: var(--dbank-appt-blue);
    color: #fff;
}

.dbank-appt__empty {
    padding: 26px 18px;
    border: 1px dashed #cbd8e8;
    border-radius: 18px;
    background: var(--dbank-appt-surface);
    color: var(--dbank-appt-muted);
    font-size: 14px;
    text-align: center;
}

.dbank-appt__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dbank-appt__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.dbank-appt__field--full {
    grid-column: 1 / -1;
}

.dbank-appt__field > span,
.dbank-appt__fieldset legend,
.dbank-appt__other-date > span {
    color: #344b68;
    font-size: 13px;
    font-weight: 650;
}

.dbank-appt__field input {
    padding: 0 15px;
}

.dbank-appt__field small {
    color: #79889b;
    font-size: 11px;
    line-height: 1.4;
}

.dbank-appt__consent {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    align-items: flex-start;
    gap: 11px;
    margin: 20px 0 14px;
    padding: 15px;
    border: 1px solid #e2eaf5;
    border-radius: 16px;
    background: #f8fafd;
    color: #52657c;
    font-size: 12px;
    line-height: 1.55;
}

.dbank-appt__consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--dbank-appt-blue);
}

.dbank-appt__consent a {
    color: var(--dbank-appt-blue);
    font-weight: 650;
}

.dbank-appt__privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #5f7085;
    font-size: 11px;
    line-height: 1.5;
}

.dbank-appt__privacy-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #338261;
}

.dbank-appt__fieldset {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.dbank-appt__fieldset legend {
    margin-bottom: 12px;
}

.dbank-appt__date-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.dbank-appt__date,
.dbank-appt__time {
    appearance: none;
    border: 1px solid var(--dbank-appt-line);
    background: #fff;
    color: var(--dbank-appt-ink);
    font: inherit;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.dbank-appt__date {
    display: flex;
    min-height: 72px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 15px;
}

.dbank-appt__date small {
    color: var(--dbank-appt-muted);
    font-size: 11px;
    text-transform: capitalize;
}

.dbank-appt__date strong {
    font-size: 14px;
    line-height: 1.2;
}

.dbank-appt__date:hover,
.dbank-appt__time:hover {
    border-color: #93b7e4;
    transform: translateY(-1px);
}

.dbank-appt__date.is-selected,
.dbank-appt__time.is-selected {
    border-color: var(--dbank-appt-blue);
    background: var(--dbank-appt-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 63, 140, .17);
}

.dbank-appt__date.is-selected small {
    color: rgba(255, 255, 255, .7);
}

.dbank-appt__other-date {
    display: grid;
    grid-template-columns: auto minmax(170px, 230px);
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.dbank-appt__other-date input {
    padding: 0 12px;
}

.dbank-appt__time-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.dbank-appt__time {
    min-height: 42px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.dbank-appt__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px;
    border: 1px solid #d5e4f6;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #f8fbff);
}

.dbank-appt__summary > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.dbank-appt__summary span {
    color: #6b7d93;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.dbank-appt__summary strong {
    color: var(--dbank-appt-ink);
    font-size: 13px;
    line-height: 1.35;
}

.dbank-appt__summary small {
    color: #62748a;
    font-size: 11px;
    line-height: 1.4;
}

.dbank-appt__fineprint {
    margin: 10px 0 0;
    color: #718197;
    font-size: 11px;
    line-height: 1.5;
}

.dbank-appt__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
}

.dbank-appt__actions--end {
    justify-content: flex-end;
}

.dbank-appt__primary,
.dbank-appt__secondary {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 21px;
    border: 1px solid var(--dbank-appt-blue);
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.dbank-appt__primary {
    background: linear-gradient(135deg, var(--dbank-appt-blue-2), var(--dbank-appt-blue));
    box-shadow: 0 10px 25px rgba(7, 63, 140, .18);
    color: #fff;
}

.dbank-appt__primary svg {
    width: 19px;
    height: 19px;
}

.dbank-appt__secondary {
    border-color: #cbd8e8;
    background: #fff;
    color: #3f5570;
}

.dbank-appt__primary:hover:not(:disabled),
.dbank-appt__secondary:hover:not(:disabled) {
    transform: translateY(-1px);
}

.dbank-appt__primary:disabled {
    border-color: #aab8ca;
    background: #aab8ca;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .62;
}

.dbank-appt__primary:focus-visible,
.dbank-appt__secondary:focus-visible,
.dbank-appt__date:focus-visible,
.dbank-appt__time:focus-visible,
.dbank-appt__office:focus-visible,
.dbank-appt__close:focus-visible {
    outline: 3px solid rgba(253, 187, 48, .68);
    outline-offset: 2px;
}

.dbank-appt__primary.is-loading svg {
    animation: dbank-appt-spin .8s linear infinite;
}

.dbank-appt__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    gap: 12px;
    color: #63758b;
    font-size: 14px;
}

.dbank-appt__spinner {
    width: 22px;
    height: 22px;
    border: 2px solid #d7e2f0;
    border-top-color: var(--dbank-appt-blue);
    border-radius: 50%;
    animation: dbank-appt-spin .8s linear infinite;
}

@keyframes dbank-appt-spin {
    to { transform: rotate(360deg); }
}

.dbank-appt__alert {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #f0c7c2;
    border-radius: 14px;
    background: #fff3f1;
    color: #a43e32;
    font-size: 13px;
    line-height: 1.5;
    outline: 0;
}

.dbank-appt__success {
    padding: 34px 18px;
    text-align: center;
    animation: dbank-appt-fade .3s ease;
}

.dbank-appt__success-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e9faef, #d7f5e4);
    box-shadow: 0 14px 30px rgba(24, 131, 80, .12);
    color: #168250;
}

.dbank-appt__success-icon svg {
    width: 37px;
    height: 37px;
}

.dbank-appt__success h3 {
    font-size: 34px;
    line-height: 1.15;
}

.dbank-appt__success > p:not(.dbank-appt__eyebrow) {
    max-width: 440px;
    margin: 12px auto 24px;
    color: var(--dbank-appt-muted);
    font-size: 15px;
    line-height: 1.6;
}

.dbank-appt__success-reference {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    min-width: 240px;
    margin-bottom: 26px;
    padding: 14px 20px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 16px;
    background: var(--dbank-appt-surface);
}

.dbank-appt__success-reference span {
    color: #718197;
    font-size: 11px;
}

.dbank-appt__success-reference strong {
    color: var(--dbank-appt-blue);
    font-size: 16px;
    letter-spacing: .06em;
}

.dbank-appt__success .dbank-appt__primary {
    display: flex;
    min-width: 140px;
    margin: 0 auto;
}

.dbank-appt__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .dbank-appt {
        align-items: flex-end;
    }

    .dbank-appt__panel {
        width: 100%;
        height: min(92dvh, 900px);
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }

    .dbank-appt.is-open .dbank-appt__panel {
        transform: translateY(0);
    }

    .dbank-appt__header {
        min-height: 62px;
        padding: 10px 18px;
    }

    .dbank-appt__body {
        padding: 25px 18px calc(32px + env(safe-area-inset-bottom));
    }

    .dbank-appt__progress {
        margin: 0 0 23px;
    }

    .dbank-appt__step-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .dbank-appt__step-heading h3 {
        font-size: 22px;
    }

    .dbank-appt__office-tools {
        grid-template-columns: 1fr;
    }

    .dbank-appt__location {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .dbank-appt__location-button {
        grid-column: 2;
        justify-self: start;
    }

    .dbank-appt__location-status {
        grid-column: 2;
        text-align: left;
    }

    .dbank-appt__office-list {
        max-height: 318px;
    }

    .dbank-appt__fields {
        grid-template-columns: 1fr;
    }

    .dbank-appt__field--full {
        grid-column: auto;
    }

    .dbank-appt__date-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dbank-appt__time-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .dbank-appt__other-date {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .dbank-appt__summary {
        grid-template-columns: 1fr;
    }

    .dbank-appt-open--floating {
        right: 14px;
        bottom: 14px;
        min-width: 0;
        min-height: 58px;
        padding: 7px 16px 7px 7px;
    }

    .dbank-appt-open--floating .dbank-appt-open__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .dbank-appt-open--floating > svg {
        display: none;
    }
}

@media (max-width: 420px) {
    .dbank-appt__time-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .dbank-appt__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .dbank-appt__actions .dbank-appt__primary,
    .dbank-appt__actions .dbank-appt__secondary {
        width: 100%;
    }

    .dbank-appt__actions--end {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dbank-appt *,
    .dbank-appt-open {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/*
 * Elementor Kit styles generic button/input selectors after this stylesheet.
 * These scoped rules keep the appointment UI isolated from those theme-level
 * defaults without affecting any control outside this component.
 */
body button.dbank-appt-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dbank-appt-blue-2), var(--dbank-appt-blue));
    color: #fff;
    font-family: Geologica, Ubuntu, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
    text-decoration: none;
    text-transform: none;
}

body button.dbank-appt-open--floating {
    position: fixed;
    display: inline-flex;
    min-width: 226px;
    min-height: 66px;
    padding: 9px 18px 9px 10px;
}

body .dbank-appt button {
    font-family: Geologica, Ubuntu, system-ui, sans-serif;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

body .dbank-appt button.dbank-appt__close {
    display: grid;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 50%;
    background: #fff;
    color: var(--dbank-appt-ink);
    line-height: 1;
}

body .dbank-appt button.dbank-appt__office {
    display: grid;
    width: 100%;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 18px;
    background: #fff;
    color: var(--dbank-appt-ink);
    font-size: inherit;
    line-height: normal;
    text-align: left;
}

body .dbank-appt button.dbank-appt__office:hover {
    border-color: #afc9eb;
    background: #f9fbfe;
    color: var(--dbank-appt-ink);
}

body .dbank-appt button.dbank-appt__office.is-selected {
    border-color: #77a5dd;
    background: #f0f6ff;
    color: var(--dbank-appt-ink);
}

body .dbank-appt button.dbank-appt__date {
    display: flex;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 15px;
    background: #fff;
    color: var(--dbank-appt-ink);
    line-height: normal;
    text-align: left;
}

body .dbank-appt button.dbank-appt__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 8px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 12px;
    background: #fff;
    color: var(--dbank-appt-ink);
    font-size: 13px;
    line-height: 1;
}

body .dbank-appt button.dbank-appt__date.is-selected,
body .dbank-appt button.dbank-appt__time.is-selected {
    border-color: var(--dbank-appt-blue);
    background: var(--dbank-appt-blue);
    color: #fff;
}

body .dbank-appt button.dbank-appt__primary,
body .dbank-appt button.dbank-appt__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 21px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1;
}

body .dbank-appt button.dbank-appt__primary {
    border: 1px solid var(--dbank-appt-blue);
    background: linear-gradient(135deg, var(--dbank-appt-blue-2), var(--dbank-appt-blue));
    color: #fff;
}

body .dbank-appt button.dbank-appt__secondary {
    border: 1px solid #cbd8e8;
    background: #fff;
    color: #3f5570;
}

body .dbank-appt button.dbank-appt__primary:disabled {
    border-color: #aab8ca;
    background: #aab8ca;
    color: #fff;
}

body .dbank-appt button.dbank-appt__location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #b9cce4;
    border-radius: 999px;
    background: #fff;
    color: var(--dbank-appt-blue);
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
}

body .dbank-appt button.dbank-appt__location-button:disabled {
    cursor: wait;
    opacity: .64;
}

body .dbank-appt .dbank-appt__success button.dbank-appt__primary {
    display: flex;
    width: max-content;
    min-width: 140px;
    margin: 0 auto;
}

body .dbank-appt .dbank-appt__search input,
body .dbank-appt .dbank-appt__select-wrap select,
body .dbank-appt .dbank-appt__field input,
body .dbank-appt .dbank-appt__other-date input {
    height: 50px;
    border: 1px solid var(--dbank-appt-line);
    border-radius: 14px;
    background-color: #fff;
    color: var(--dbank-appt-ink);
    font-family: Geologica, Ubuntu, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1;
}

body .dbank-appt .dbank-appt__search input {
    padding: 0 15px 0 44px;
}

body .dbank-appt .dbank-appt__select-wrap select,
body .dbank-appt .dbank-appt__field input,
body .dbank-appt .dbank-appt__other-date input {
    padding: 0 15px;
}

@media (max-width: 767px) {
    body button.dbank-appt-open--floating {
        min-width: 0;
        min-height: 58px;
        padding: 7px 16px 7px 7px;
    }
}
