/* Base styles for modal and legacy elements */
.fht-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
    display: flex;
    align-items: center;7
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fht-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.fht-modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.fht-modal-overlay.is-visible .fht-modal-content {
    transform: scale(1);
}

.fht-modal-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d2327;
}

.fht-modal-content p {
    margin-bottom: 2rem;
    color: #50575e;
    font-size: 1rem;
    line-height: 1.6;
}

.fht-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.fht-modal-content.is-warning h3 {
    color: #d63638;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.fht-modal-content.is-warning h3::before {
    content: "⚠️";
    font-size: 1.5rem;
}

.fht-button-delete {
    color: #fff !important;
    background-color: #d63638 !important;
    border-color: #d63638 !important;
}
