/* Epioso Custom Buttons Styles */
.epioso-custom-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.epioso-whatsapp-btn,
.epioso-quick-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 35px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
    flex: 1;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.epioso-whatsapp-btn {
    background-color: #f4f4f4;
    color: #333;
    border-color: #e0e0e0;
}

.epioso-whatsapp-btn:hover {
    background-color: #25D366;
    color: #ffffff;
    border-color: #25D366;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.epioso-quick-buy-btn {
    background-color: #f4f4f4;
    color: #333;
    border-color: #e0e0e0;
}

.epioso-quick-buy-btn:hover {
    background-color: #333;
    color: #ffffff;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.2);
}

.epioso-whatsapp-icon,
.epioso-quick-buy-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.epioso-whatsapp-btn:hover .epioso-whatsapp-icon,
.epioso-quick-buy-btn:hover .epioso-quick-buy-icon {
    opacity: 1;
}

/* Modal Styles */
.epioso-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.epioso-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.epioso-modal-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.epioso-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

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

.epioso-modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.epioso-modal-body {
    padding: 20px;
}

.epioso-form-group {
    margin-bottom: 15px;
}

.epioso-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.epioso-form-group .required {
    color: #e74c3c;
}

.epioso-form-group input,
.epioso-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.epioso-form-group input:focus,
.epioso-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.epioso-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.epioso-form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.epioso-form-actions button[type="button"] {
    background-color: #f5f5f5;
    color: #333;
}

.epioso-form-actions button[type="button"]:hover {
    background-color: #e0e0e0;
}

.epioso-form-actions button[type="submit"] {
    background-color: #007cba;
    color: white;
}

.epioso-form-actions button[type="submit"]:hover:not(:disabled) {
    background-color: #005a87;
}

.epioso-form-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .epioso-custom-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .epioso-whatsapp-btn,
    .epioso-quick-buy-btn {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }
    
    .epioso-modal {
        padding: 10px;
    }
    
    .epioso-modal-content {
        max-height: 95vh;
    }
    
    .epioso-form-actions {
        flex-direction: column;
    }
    
    .epioso-form-actions button {
        width: 100%;
    }
}
