/* Stargio - Modal styles */
dialog {
    border: none;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    max-width: 380px;
    width: calc(100% - 2rem);
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: modal-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #ffffff;
    outline: none;
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.9) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

dialog::backdrop {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    animation: backdrop-in 0.2s ease;
}

@keyframes backdrop-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

dialog .modal-body {
    padding: 2rem 1.75rem 1.5rem;
}

dialog p {
    color: #111827;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

dialog button {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-top: 1px solid #f3f4f6;
    background: none;
    color: #ff5e00;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 0 0 16px 16px;
    transition: background 0.15s;
}

dialog button:hover { background: #fff3ec; }
