/* DarFindr confirm dialog polish.
   Shared account confirmation dialog used by destructive/support-confirm flows. */

/* DarFindr confirm dialog used by account confirm/support-confirm flows. */
.df-confirm-dialog {
    position: fixed;
    inset: 0;
    z-index: 100500;
    display: none;
    place-items: center;
    padding: 22px;
}

.df-confirm-dialog.is-open {
    display: grid;
}

.df-confirm-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 28, 15, .42);
    backdrop-filter: blur(10px);
}

.df-confirm-dialog-panel {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    width: min(420px, 100%);
    padding: 24px;
    border: 1px solid rgba(190, 125, 78, .20);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 253, 250, .98), rgba(255, 247, 239, .96)),
        radial-gradient(circle at 100% 0, rgba(190, 125, 78, .12), transparent 34%);
    box-shadow: 0 28px 70px rgba(45, 28, 15, .24);
}

.df-confirm-dialog-copy {
    display: grid;
    gap: 8px;
}

.df-confirm-dialog-logo {
    display: inline-grid;
    place-items: center;
    justify-self: start;
    min-width: 28px;
    height: 18px;
}

.df-confirm-dialog-logo img {
    display: block;
    width: auto;
    max-width: 58px;
    height: 18px;
    object-fit: contain;
    object-position: left center;
}

.df-confirm-dialog-logo strong {
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.df-confirm-dialog-copy h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 22px;
    line-height: 1.15;
}

.df-confirm-dialog-copy p {
    margin: 0;
    color: rgba(45, 28, 15, .72);
    font-size: 15px;
    line-height: 1.55;
}

.df-confirm-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.df-confirm-dialog-actions button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
}

.df-confirm-dialog-actions .is-secondary {
    border: 1px solid rgba(45, 28, 15, .12);
    background: rgba(255, 255, 255, .72);
    color: rgba(45, 28, 15, .72);
}

.df-confirm-dialog-actions .is-primary {
    border: 1px solid rgba(169, 74, 53, .18);
    background: #a94a35;
    color: #fff;
}

.df-confirm-dialog-open {
    overflow: hidden;
}

.df-host-block-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: none;
    padding: 0;
    border: 0;
    background: rgba(17, 12, 8, .42);
    cursor: default;
    backdrop-filter: blur(5px);
}

.df-host-block-backdrop.is-open {
    display: block;
}

.df-host-calendar-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100052;
    display: none;
    width: min(420px, calc(100vw - 32px));
    justify-items: center;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(45, 28, 15, .1);
    border-radius: 14px;
    background: rgba(255, 252, 248, .98);
    box-shadow: 0 30px 90px rgba(17, 12, 8, .28);
    text-align: center;
    transform: translate(-50%, -50%);
}

.df-host-calendar-feedback.is-open {
    display: grid;
}

.df-host-calendar-feedback-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(22, 130, 74, .22);
    border-radius: 50%;
    background: rgba(22, 130, 74, .1);
    color: #16824a;
}

.df-host-calendar-feedback-icon::before {
    content: "\2713";
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.df-host-calendar-feedback.is-error .df-host-calendar-feedback-icon {
    border-color: rgba(141, 80, 45, .2);
    background: rgba(141, 80, 45, .1);
    color: var(--color-primary);
}

.df-host-calendar-feedback.is-error .df-host-calendar-feedback-icon::before {
    content: "!";
}

.df-host-calendar-feedback h3 {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading, Georgia, serif);
    font-size: 26px;
    line-height: 1.1;
}

.df-host-calendar-feedback p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.df-host-calendar-feedback button {
    min-height: 40px;
    min-width: 150px;
    margin-top: 4px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
}
