/* Trigger button styles */
.erp-trigger-wrapper {
    text-align: center;
}

.erp-trigger-button {
    background-color: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.erp-trigger-button:hover {
    background-color: #2980b9;
}

/* Popup overlay styles */
.erp-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Popup container styles */
.erp-popup-container {
    position: absolute;
    background-color: white;
    max-height: 90vh;
    max-width: 500px;
    border-radius: 10px;
    padding: 15px;
}

/* Popup position classes */
.erp-position-center .erp-popup-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.erp-position-top-left .erp-popup-container {
    top: 20px;
    left: 20px;
}

.erp-position-top-right .erp-popup-container {
    top: 20px;
    right: 20px;
}

.erp-position-bottom-left .erp-popup-container {
    bottom: 20px;
    left: 20px;
}

.erp-position-bottom-right .erp-popup-container {
    bottom: 20px;
    right: 20px;
}

.erp-popup-header {
    text-align: center;
}

.erp-popup-title {
    margin: 0 0 10px;
    color: #333333;
}

.erp-satisfaction-promise {
    font-size: 16px;
    font-weight: 600;
    color: #f39c12;
}

.erp-popup-content {
    line-height: 1.6;
    color: #555555;
}

.erp-popup-footer {
    text-align: center;
}

.erp-popup-button {
    background-color: #f39c12;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.erp-popup-button:hover {
    background-color: #e67e22;
}

.erp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
}

.erp-popup-close:hover {
    background-color: #0000;
}

.erp-popup-close svg {
    fill: #000;
    opacity: .5 ;
}
.erp-popup-close:hover svg {
    fill: #fff;
}

/* Button icon styles */
.erp-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.erp-icon-after .erp-button-icon {
    margin-right: 0;
    margin-left: 8px;
}

/* Button alignment styles */
.erp-trigger-wrapper.text-left {
    text-align: left;
}

.erp-trigger-wrapper.text-center {
    text-align: center;
}

.erp-trigger-wrapper.text-right {
    text-align: right;
}

/* Responsive design */
@media (max-width: 768px) {
    .erp-popup-container {
        width: 95%;
    }
    
    /* Force center position on mobile */
    .erp-position-top-left .erp-popup-container,
    .erp-position-top-right .erp-popup-container,
    .erp-position-bottom-left .erp-popup-container,
    .erp-position-bottom-right .erp-popup-container {
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
    }
}