/* Custom Error Modal Styles based on JZ2-1865 design */
.modal-content-custom {
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}
.btn-close-custom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #94a3b8;
    transition: color 0.3s ease;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 1;
}
.btn-close-custom:hover {
    color: #475569;
}
.icon-container {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: transparent;
}

.modal-title-custom {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #001F3F;
    font-weight: 700;
    margin-bottom: 1rem;
}
.modal-text-custom {
    font-family: 'Inter', sans-serif;
    color: #475569;
    line-height: 1.625;
    font-size: 1rem;
}
.btn-auction-outline {
    background-color: #FFFFFF;
    color: #334155;
    border: 1px solid #D1D5DB;
    padding: 0.625rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 20rem;
}
.btn-auction-outline:hover {
    border-color: #D4AF37;
    color: #D4AF37;
    background-color: #FFFFFF;
}
.accent-detail {
    height: 0.25rem;
    width: 100%;
    background: linear-gradient(to right, transparent, #C5A059, transparent);
    opacity: 0.3;
}
.modal-body-custom {
    padding: 2rem;
    text-align: center;
}
/* Spacing follows the JZ2-1865 design: icon mb-6, title/message space-y-4, buttons mt-10 */
.modal-icon-custom {
    margin-bottom: 1.5rem;
}
.modal-buttons-custom {
    margin-top: 2.5rem;
}
@media (min-width: 768px) {
    .modal-body-custom {
        padding: 2.5rem;
    }
}
/* JZ2-1865: the error dialog backdrop is transparent (still blocks the page behind it) */
body.error-dialog-open .modal-backdrop,
body.error-dialog-open .modal-backdrop.show {
    opacity: 0;
}
