/**
 * Dokan Product Form Enhancer Styles
 */


/* Custom section styling to match Dokan form design */
#dpfe-custom-section {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    border: 1px solid #e5e5e5 !important;
    background-color: #ffffff !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    clear: both !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}


.dpfe-custom-html-container {
    margin-top: 15px !important;
    padding: 15px !important;
    background-color: #f8f9fa !important;
    border-radius: 4px !important;
    border: 1px solid #e9ecef !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.dpfe-custom-html-container p {
    margin-bottom: 10px !important;
    color: #000000 !important;
    line-height: 1.5 !important;
}

.dpfe-custom-html-container a {
    color: #ff3131 !important;
    text-decoration: underline !important;
}

.dpfe-custom-html-container a:hover {
    color: #ff3131 !important;
}

/* Dokan section styling */
#dpfe-custom-section {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

#dpfe-custom-section .dokan-section-heading {
    background-color: #f8f9fa !important;
    color: #333333 !important;
    padding: 15px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#dpfe-custom-section .dokan-section-heading h2 {
    color: #333333 !important;
    margin: 0 !important;
}

#dpfe-custom-section .dokan-section-heading p {
    color: #666666 !important;
    margin: 5px 0 0 0 !important;
}

#dpfe-custom-section .dokan-section-content {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px !important;
}

/* Help Button and Panel */
.dpfe-help-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
}

.dpfe-help-button {
    background-color: #260aae !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    text-align: center !important;
    min-width: 100px !important;
}

.dpfe-help-button:hover {
    background-color: #1a0775 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.dpfe-help-panel {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 300px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
}

.dpfe-help-panel-header {
    background-color: #260aae !important;
    color: white !important;
    padding: 10px 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.dpfe-help-panel-header h3 {
    margin: 0;
    font-size: 16px;
}

.dpfe-help-panel-close {
    font-size: 20px;
    cursor: pointer;
}

.dpfe-help-panel-content {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.dpfe-help-panel-content ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.dpfe-help-panel-content ul li {
    margin-bottom: 8px;
}

.dpfe-help-panel-content a {
    color: #666666 !important;
    text-decoration: none !important;
}

.dpfe-help-panel-content a:hover {
    color: #555555 !important;
    text-decoration: underline !important;
}
