.dugf-root,
.dugf-root * {
    box-sizing: border-box;
}

.dugf-root {
    --dugf-primary: #ec008c;
    --dugf-border: rgba(127, 127, 127, 0.25);
    --dugf-border-strong: rgba(127, 127, 127, 0.4);
    --dugf-surface-soft: rgba(127, 127, 127, 0.06);
    font-family: inherit;
    color: #111111;
    width: 100%;
}

.dugf-wrap {
    width: 100%;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
}

.dugf-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    color: #111111;
}

.dugf-card--checker,
.dugf-inline-panel {
    padding: 24px;
}

.dugf-card__accent {
    display: none;
}

.dugf-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.14);
    animation: dugf-pill-pulse 2.2s ease-in-out infinite;
}

.dugf-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45);
    animation: dugf-pill-dot-pulse 1.8s ease-out infinite;
}

.dugf-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.dugf-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--dugf-border);
    border-radius: 14px;
    background: #ffffff;
}

.dugf-step__number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--dugf-border-strong);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.dugf-step__content {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dugf-step__label {
    font-size: 15px;
    font-weight: 700;
}

.dugf-step__hint {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.4;
}

.dugf-step.is-active {
    border-color: currentColor;
}

.dugf-step.is-active .dugf-step__number {
    border-color: currentColor;
    background: var(--dugf-surface-soft);
}

.dugf-step.is-complete .dugf-step__number {
    font-size: 0;
    background: var(--dugf-surface-soft);
}

.dugf-step.is-complete .dugf-step__number::before {
    content: "✓";
    font-size: 14px;
    font-weight: 700;
}

.dugf-hero {
    margin-bottom: 22px;
}

.dugf-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.dugf-hero__title,
.dugf-modal__title,
.dugf-section-title {
    margin: 0;
    color: inherit;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.12;
    font-weight: 700;
}

.dugf-section-title {
    font-size: 24px;
}

.dugf-hero__subline,
.dugf-modal__lead,
.dugf-modal__address,
.dugf-modal__match,
.dugf-trustline {
    margin: 12px 0 0;
    color: inherit;
    opacity: 0.8;
    font-size: 16px;
    line-height: 1.5;
}

.dugf-modal__address {
    font-weight: 600;
    opacity: 1;
}

.dugf-form,
.dugf-application-form {
    width: 100%;
}

.dugf-grid,
.dugf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.dugf-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.dugf-field,
.dugf-field-full {
    position: relative;
    width: 100%;
}

.dugf-field-full {
    grid-column: 1 / -1;
}

.dugf-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.dugf-input,
.dugf-field input,
.dugf-field textarea,
.dugf-field select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    font: inherit;
    color: inherit;
}

.dugf-field textarea.dugf-input {
    min-height: 110px;
    resize: vertical;
}

.dugf-input[readonly] {
    cursor: default;
}

.dugf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    cursor: pointer;
}

.dugf-button__spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: dugf-spin 0.9s linear infinite;
}

.dugf-button.is-loading .dugf-button__spinner {
    display: inline-block;
}

.dugf-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.dugf-trustline {
    text-align: center;
}

.dugf-message {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.dugf-message.is-error,
.dugf-message.is-success {
    display: block;
}

.dugf-message.is-error {
    border-color: #dc2626;
}

.dugf-message.is-success {
    border-color: #16a34a;
}

.dugf-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
}

.dugf-autocomplete__list {
    overflow: hidden auto;
    max-height: 240px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.dugf-autocomplete__item,
.dugf-autocomplete__empty {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #ececec;
    background: #ffffff;
    color: #111111;
    text-align: left;
    cursor: pointer;
}

.dugf-autocomplete__item:last-child,
.dugf-autocomplete__empty:last-child {
    border-bottom: 0;
}

.dugf-autocomplete__item:hover,
.dugf-autocomplete__item.is-active {
    background: #f5f5f5;
}

.dugf-autocomplete__label {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.dugf-autocomplete__meta,
.dugf-autocomplete__empty {
    display: block;
    margin-top: 4px;
    color: #555;
    font-size: 12px;
    line-height: 1.45;
}

.dugf-inline-result {
    margin-top: 18px;
}

.dugf-inline-content {
    display: grid;
    gap: 22px;
}

.dugf-status-card {
    padding: 18px;
    border: 1px solid var(--dugf-border);
    border-radius: 14px;
    background: #ffffff;
}

.dugf-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 10px;
    border: 1px solid var(--dugf-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dugf-inline-booking[hidden] {
    display: none !important;
}

.dugf-booking-note {
    margin: 10px 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: inherit;
    opacity: 0.82;
}

.dugf-status-card.is-available {
    border-color: rgba(22, 163, 74, 0.28);
    background: rgba(22, 163, 74, 0.04);
}

.dugf-status-card.is-unavailable {
    border-color: rgba(220, 38, 38, 0.28);
    background: rgba(220, 38, 38, 0.04);
}

.dugf-badge.is-available {
    border-color: rgba(22, 163, 74, 0.3);
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
}

.dugf-badge.is-unavailable {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes dugf-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes dugf-pill-pulse {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.12);
    }
    50% {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px -16px rgba(220, 38, 38, 0.45);
    }
}

@keyframes dugf-pill-dot-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

@media (max-width: 820px) {
    .dugf-steps,
    .dugf-grid,
    .dugf-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dugf-card--checker,
    .dugf-inline-panel {
        padding: 18px;
    }
}
