/* Language & Currency Detection Popup Styles */

.simp-detection-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.simp-detection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.simp-detection-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 100000;
}

.simp-detection-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.simp-detection-close:hover {
    background: #f0f0f0;
}

.simp-detection-content {
    padding: 30px;
}

.simp-detection-content h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #333;
}

.simp-detection-content p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
}

.simp-detection-options {
    margin: 20px 0;
}

.simp-detection-option {
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.2s ease;
}

.simp-detection-option:hover {
    border-color: #0073aa;
}

.simp-detection-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.simp-detection-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.simp-option-flag {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.simp-option-symbol {
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    text-align: center;
    color: #0073aa;
}

.simp-option-text {
    flex: 1;
}

.simp-option-text strong {
    display: block;
    color: #333;
    font-size: 16px;
    margin-bottom: 4px;
}

.simp-option-text small {
    display: block;
    color: #999;
    font-size: 13px;
}

.simp-detection-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.simp-btn-primary,
.simp-btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.simp-btn-primary {
    background: #0073aa;
    color: #fff;
}

.simp-btn-primary:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.simp-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.simp-btn-secondary:hover {
    background: #e0e0e0;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .simp-detection-modal {
        width: 95%;
        max-height: 85vh;
    }
    
    .simp-detection-content {
        padding: 20px;
    }
    
    .simp-detection-content h3 {
        font-size: 18px;
    }
    
    .simp-detection-actions {
        flex-direction: column;
    }
    
    .simp-btn-primary,
    .simp-btn-secondary {
        width: 100%;
    }
}

