/*
Theme Name: Divi Child
Template: Divi
Description: A child theme of the Divi theme for safe customizations
Version: 1.0.0
Author: Your Name
Text Domain: divi-child
*/

/* ==========================================================================
   Custom Styles for Divi Child Theme
   ========================================================================== */

/* Add your custom CSS below this line */

/* Provider Search Form Enhancements */
.provider-search-container {
    margin: 40px 0;
}

/* Custom Divi Module Spacing for Search Forms */
.et_pb_module.provider-search-module {
    margin-bottom: 60px;
}

.et_pb_module.provider-search-module .provider-search-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #f1f3f4;
}

/* Divi Integration for Search Results */
.et_pb_section .provider-search-results {
    background: transparent;
    padding: 0;
}

/* Responsive adjustments for Divi */
@media (max-width: 980px) {
    .et_pb_module.provider-search-module .provider-search-container {
        padding: 30px 20px;
        margin: 20px 0;
    }
}

@media (max-width: 767px) {
    .et_pb_module.provider-search-module .provider-search-container {
        padding: 20px 15px;
        border-radius: 15px;
    }
}

/* Custom Button Styling to Match Divi */
.provider-search-container .website-button,
.provider-search-container .browse-all-btn {
    background: #7EBDC3;
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
}

.provider-search-container .website-button:hover,
.provider-search-container .browse-all-btn:hover {
    background: #6EADB3;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(126, 189, 195, 0.3);
}

/* Divi Theme Compatibility */
.et_pb_row .provider-search-results,
.et_pb_column .provider-search-results {
    width: 100%;
}

/* Override Divi's default link styles in provider cards */
.provider-card a {
    color: inherit;
}

.provider-card .provider-title a:hover {
    color: #7EBDC3 !important;
}

/* Ensure proper spacing in Divi sections */
.et_pb_section .providers-grid {
    margin-top: 0;
    margin-bottom: 0;
}