/* Deactivation Feedback Modal Styles */
.touritma-feedback-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.touritma-feedback-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.touritma-feedback-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #1e293b;
    animation: touritmaModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 2;
    margin: 16px;
}

@keyframes touritmaModalPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.touritma-feedback-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.touritma-feedback-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.touritma-feedback-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.touritma-feedback-header h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.touritma-feedback-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.touritma-feedback-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 0.375rem;
    transition: all 0.15s ease;
}

.touritma-feedback-close:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.touritma-feedback-body {
    padding: 20px 28px;
    max-height: 55vh;
    overflow-y: auto;
}

.touritma-feedback-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.touritma-reason-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 0.625rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.touritma-reason-option:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.touritma-reason-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.touritma-reason-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.touritma-reason-option input[type="radio"]:checked + .touritma-reason-radio {
    border-color: #6366f1;
    background: #6366f1;
}

.touritma-reason-option input[type="radio"]:checked + .touritma-reason-radio::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.touritma-reason-label {
    font-size: 0.885rem;
    color: #334155;
    font-weight: 500;
}

.touritma-reason-option:has(input:checked) {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.touritma-reason-option:has(input:checked) .touritma-reason-label {
    color: #4f46e5;
    font-weight: 600;
}

.touritma-reason-extra {
    padding: 4px 0 8px 30px;
    animation: touritmaFadeIn 0.2s ease forwards;
}

@keyframes touritmaFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.touritma-reason-extra textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 0.625rem;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #0f172a;
    background: #ffffff;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
}

.touritma-reason-extra textarea:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.touritma-feedback-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    gap: 12px;
}

.touritma-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.touritma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 0.625rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.touritma-btn-skip {
    background: transparent;
    color: #64748b;
    padding: 9px 4px;
}

.touritma-btn-skip:hover {
    color: #0f172a;
    text-decoration: underline;
}

.touritma-btn-cancel {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}

.touritma-btn-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.touritma-btn-submit {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.touritma-btn-submit:hover:not(:disabled) {
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

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

.btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: touritmaSpin 0.7s linear infinite;
}

@keyframes touritmaSpin {
    to {
        transform: rotate(360deg);
    }
}
