/* Cancel save-offer modal -------------------------------------------------- */
.csave-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 20, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-in-out;
    z-index: 1100;
}

.csave-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.csave-modal {
    background: #0a0c18;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 420px;
    width: 100%;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.csave-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.csave-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.csave-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.csave-subtitle {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.55;
}

.csave-subtitle strong {
    color: #fff;
}

.csave-badge {
    background: linear-gradient(135deg, #7d5bff 0%, #a78bfa 100%);
    border-radius: 100px;
    padding: 0.55rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.csave-fine {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    line-height: 1.55;
    max-width: 340px;
}

.csave-btn-accept {
    background: linear-gradient(135deg, #7d5bff 0%, #9b6fff 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: opacity 150ms;
    margin-top: 0.25rem;
}

.csave-btn-accept:hover:not(:disabled) {
    opacity: 0.88;
}

.csave-btn-accept:disabled {
    opacity: 0.5;
    cursor: default;
}

.csave-btn-decline {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 150ms;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.csave-btn-decline:hover {
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 480px) {
    .csave-modal {
        padding: 2rem 1.25rem;
        border-radius: 18px;
    }
}
