/**
 * Inspiro Theme Deactivation Modal Styles
 *
 * @package Inspiro
 */
/* Modal Overlay */
.inspiro-deactivation-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    animation: inspiro-modal-fade-in 0.3s ease-out;
}

/* Modal Container */
.inspiro-deactivation-modal {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: inspiro-modal-slide-in 0.3s ease-out;
}

.inspiro-nps-btn[data-score="0"]:hover,
.inspiro-nps-btn[data-score="1"]:hover,
.inspiro-nps-btn[data-score="2"]:hover {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

.inspiro-nps-btn[data-score="3"]:hover {
    border-color: #ffc107 !important;
    background: #ffc107 !important;
    color: #fff !important;
}

.inspiro-nps-btn[data-score="4"]:hover,
.inspiro-nps-btn[data-score="5"]:hover {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
}

/* Modal Header */
.inspiro-deactivation-modal-header {
    padding: 20px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inspiro-deactivation-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.4;
}

.inspiro-deactivation-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.inspiro-deactivation-modal-close:hover {
    color: #1d2327;
}

/* Modal Body */
.inspiro-deactivation-modal-body {
    padding: 0 24px 24px;
    flex: 1;
    overflow-y: auto;
}

/* Choice Wrapper */
.inspiro-choice-wrapper {
    margin-bottom: 16px;
}

.inspiro-choice-wrapper:hover {
    border-color: #c3c4c7;
}

/* Choice Label */
.inspiro-choice-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #1d2327;
    margin: 0;
}

.inspiro-choice-label input[type=checkbox] {
    margin-left: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Features Options Section */
.inspiro-features-options {
    margin-top: 12px;
    padding-right: 25px;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.inspiro-features-options > div:first-child {
    margin-bottom: 8px;
    font-size: 13px;
    color: #000;
    font-weight: 500;
}

.inspiro-deactivation-intro {
    opacity: 0.8;
}

/* Feature Label */
.inspiro-feature-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #1d2327;
    cursor: pointer;
}

.inspiro-feature-label input[type=checkbox] {
    margin-left: 8px;
    margin-top: 1px;
}

/* Feature Other Text Field */
.inspiro-feature-other-text {
    width: 100%;
    margin-top: 6px;
    margin-right: 20px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 13px;
    resize: vertical;
    min-height: 50px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.inspiro-feature-other-text:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Text Field */
.inspiro-choice-text {
    width: 100%;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 13px;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.inspiro-choice-text:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Modal Footer */
.inspiro-deactivation-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e4e7;
    background: #f8f9fa;
}

/* Consent Section */
.inspiro-consent-section {
    margin-bottom: 16px;
    padding: 12px;
    background: #edf0f2;
    border: 1px solid #eee;
    border-radius: 6px;
}

.inspiro-consent-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.5;
    color: #1d2327;
    margin: 0;
}

.inspiro-consent-label input[type=checkbox] {
    margin-left: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    transform: scale(1.1);
}

/* Privacy Notice */
.inspiro-privacy-notice {
    font-size: 12px;
    color: #646970;
    margin-bottom: 16px;
    line-height: 1.4;
}

.inspiro-privacy-notice a {
    color: #2271b1;
    text-decoration: none;
}

.inspiro-privacy-notice a:hover {
    text-decoration: underline;
}

/* Modal Buttons */
.inspiro-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Button Styles */
.inspiro-btn {
    padding: 8px 16px;
    border: 1px solid #c3c4c7;
    border-radius: 2px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #fff;
    color: #1d2327;
    min-width: 120px;
}

.inspiro-btn:hover {
    border-color: #8c8f94;
}

.inspiro-btn-primary {
    background: #3958e9;
    border-color: #3958e9;
    color: #fff;
}

.inspiro-btn-primary:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.inspiro-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations */
@keyframes inspiro-modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes inspiro-modal-slide-in {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Responsive Design */
@media (max-width: 600px) {
    .inspiro-deactivation-modal {
        width: 95%;
        margin: 20px;
    }
    .inspiro-deactivation-modal-header,
    .inspiro-deactivation-modal-body,
    .inspiro-deactivation-modal-footer {
        padding: 16px;
    }
    .inspiro-modal-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .inspiro-btn {
        width: 100%;
    }
    .inspiro-features-options {
        padding-right: 15px;
        padding: 8px;
    }
    .inspiro-feature-other-text {
        margin-right: 15px;
    }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .inspiro-deactivation-modal-overlay,
    .inspiro-deactivation-modal {
        animation: none;
    }
}