/* Lightbox Modal Overlay */
.bookingor-feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bookingor-feedback-overlay.active {
    opacity: 1;
}

/* Modal Content Container */
.bookingor-feedback-modal {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 520px;
    max-width: 95%;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.bookingor-feedback-overlay.active .bookingor-feedback-modal {
    transform: translateY(0);
}

/* Header styling */
.bookingor-feedback-modal .dialog-header {
    background-color: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bookingor-feedback-modal #bookingor-deactivate-feedback-dialog-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.bookingor-feedback-modal #bookingor-deactivate-feedback-dialog-header i {
    color: #4f46e5;
    font-size: 16px;
}

.bookingor-feedback-modal .dialog-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.bookingor-feedback-modal .dialog-close:hover {
    color: #64748b;
}

/* Body styling */
.bookingor-feedback-modal .dialog-message {
    padding: 16px 20px;
}

.bookingor-feedback-modal #bookingor-deactivate-feedback-dialog-form-caption {
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 12px;
    font-weight: 500;
}

.bookingor-feedback-modal .elementor-deactivate-feedback-dialog-input-wrapper {
    margin-bottom: 8px;
}

.bookingor-feedback-modal .elementor-deactivate-feedback-dialog-input-wrapper:last-child {
    margin-bottom: 0;
}

.bookingor-feedback-modal .bookingor-deactivate-feedback-dialog-input {
    margin: 0 6px 0 0;
    vertical-align: middle;
    cursor: pointer;
}

.bookingor-feedback-modal .bookingor-deactivate-feedback-dialog-label {
    font-size: 13px;
    color: #334155;
    vertical-align: middle;
    cursor: pointer;
}

/* Text area & warning message */
.bookingor-feedback-modal .bookingor-feedback-text {
    width: 100%;
    margin-top: 6px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 12.5px;
    color: #334155;
    background-color: #f8fafc;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.bookingor-feedback-modal input[type="text"].bookingor-feedback-text:focus {
    border-color: #4f46e5;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.bookingor-feedback-modal div.bookingor-feedback-text {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
}

/* Footer buttons styling */
.bookingor-feedback-modal .dialog-buttons-wrapper {
    background-color: #f8fafc;
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.bookingor-feedback-modal .dialog-button {
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.bookingor-feedback-modal .dialog-submit {
    background-color: #4f46e5;
    color: #ffffff;
}

.bookingor-feedback-modal .dialog-submit:hover:not(:disabled) {
    background-color: #4338ca;
}

.bookingor-feedback-modal .dialog-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bookingor-feedback-modal .dialog-skip {
    background-color: transparent;
    border-color: #cbd5e1;
    color: #64748b;
}

.bookingor-feedback-modal .dialog-skip:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #334155;
}

.bookingor-feedback-modal .dialog-cancel {
    background-color: transparent;
    border: none;
    color: #94a3b8;
    text-decoration: underline;
    font-size: 13px;
}

.bookingor-feedback-modal .dialog-cancel:hover {
    color: #64748b;
}

/* Loading state spinner */
.bookingor-feedback-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: bookingor-spin 0.8s ease-in-out infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes bookingor-spin {
    to { transform: rotate(360deg); }
}
