.wawi-create-dialog-shell {
    padding: 0.25rem 0;
}

.wawi-create-dialog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.wawi-create-dialog-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.wawi-create-dialog-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.wawi-create-dialog-subtitle {
    font-size: 0.9rem;
    color: #475569;
}

.wawi-create-dialog-required-note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    width: fit-content;
    padding: 0.45rem 0.7rem;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff5f5;
    color: #991b1b;
    font-size: 0.8rem;
    font-weight: 600;
}

.wawi-create-dialog-required-note-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.wawi-create-dialog-root {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wawi-create-dialog-form {
    width: 100%;
}

.wawi-create-dialog-asset-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wawi-create-dialog-asset-intro {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.wawi-create-dialog-asset-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.wawi-create-dialog-asset-subtitle {
    color: #475569;
    line-height: 1.5;
}

.wawi-create-dialog-switch-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.2rem;
}

.wawi-create-dialog-switch-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.wawi-create-dialog-switch-hint {
    color: #64748b;
    line-height: 1.45;
}

.wawi-create-dialog-asset-note {
    padding: 0.9rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    line-height: 1.45;
}

.wawi-create-dialog-asset-actions {
    display: flex;
    flex-direction: column;
}

.wawi-create-dialog-switch-field {
    flex: 0 0 90px;
}

.wawi-create-dialog-switch-field .jans-vertical-switch {
    max-width: none;
    width: 100%;
    min-width: 90px;
    height: 100%;
}

.wawi-create-dialog-action-field {
    display: flex;
    align-items: stretch;
    flex: 0 0 80px;
    min-width: 80px;
    align-self: stretch;
}

.wawi-create-dialog-inline-action-field {
    display: flex;
    align-items: stretch;
    flex: 0 0 52px;
    min-width: 52px;
    align-self: stretch;
}

.wawi-create-dialog-inline-action-button.rz-button {
    width: 100%;
    min-width: 52px;
    height: 100%;
    padding: 0;
    border-radius: 0;
}

.wawi-create-dialog-required-field {
    overflow: visible;
}

.wawi-create-dialog-required-pill {
    position: absolute;
    top: -0.55rem;
    right: 0.55rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
    pointer-events: none;
}

.wawi-create-dialog-required-field .dialog-input,
.wawi-create-dialog-required-field .dialog-input .rz-inputtext,
.wawi-create-dialog-required-field .dialog-input .rz-dropdown,
.wawi-create-dialog-required-field .dialog-input .rz-dropdown-label {
    background-image: linear-gradient(180deg, rgba(254, 242, 242, 0.92) 0%, rgba(255, 255, 255, 1) 42%);
}

.wawi-create-dialog-required-field .dialog-input,
.wawi-create-dialog-required-field .dialog-input .rz-inputtext,
.wawi-create-dialog-required-field .dialog-input .rz-dropdown {
    border-top-color: #fca5a5;
}

.wawi-create-dialog-actions {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0;
    margin: 0;
    align-items: stretch;
    justify-content: flex-end;
}

.wawi-create-dialog-actions .rz-button {
    margin: 0;
    border-radius: 0;
    width: 50%;
    height: 100%;
    min-width: 0;
    min-height: 100%;
    max-width: none;
    padding: 0;
}

.wawi-create-dialog-actions .wawi-create-dialog-button-save {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.wawi-create-dialog-actions .wawi-create-dialog-button-cancel {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

@media (max-width: 767px) {
    .wawi-create-dialog-card {
        border-radius: 16px;
        padding: 1rem;
    }

    .wawi-create-dialog-required-note {
        width: 100%;
        border-radius: 14px;
    }

    .wawi-create-dialog-action-field {
        min-width: 0;
    }

    .wawi-create-dialog-actions {
        flex-direction: row;
        align-items: stretch;
        justify-content: stretch;
    }

    .wawi-create-dialog-switch-field {
        flex-basis: 84px;
    }

    .wawi-create-dialog-switch-field .jans-vertical-switch {
        min-width: 84px;
    }
}

@media (min-width: 768px) {
    .wawi-create-dialog-switch-copy {
        max-width: 26rem;
    }

    .wawi-create-dialog-asset-actions {
        align-items: flex-end;
    }

    .wawi-create-dialog-asset-actions .wawi-create-dialog-actions {
        max-width: 14rem;
    }
}
