/* ==========================================
   Form Base & Layout Styles (Popup Friendly)
   ========================================== */
.ccm-form-card {
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #2c3e50;
    box-sizing: border-box;
    padding: 10px 5px;
    max-width: 100%;
}

/* Force border-box for all form elements */
.ccm-form-card *, 
.ccm-form-card *::before, 
.ccm-form-card *::after {
    box-sizing: border-box !important;
}

/* Form Title Styling */
.ccm-title {
    color: #8C2373 !important;
    margin: 0 0 20px 0 !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    text-align: center;
    letter-spacing: -0.3px;
}

/* Grid Row for 2-Columns */
.ccm-row {
    display: flex !important;
    gap: 15px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Form Groups & Labels */
.ccm-group {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    flex: 1 !important;
}

.ccm-group label {
    font-weight: 600 !important;
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
    color: #8C2373 !important;
    display: block !important;
    text-align: left;
}

/* Input Controls */
.ccm-group input[type="text"],
.ccm-group input[type="email"] {
    width: 100% !important;
    background-color: #f9fbfd !important;
    border: 1.5px solid #d0dbe5 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #2c3e50 !important;
    outline: none !important;
    transition: all 0.25s ease-in-out !important;
    height: 44px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

/* Input Focus & Hover States */
.ccm-group input:hover {
    border-color: #1a5276 !important;
}

.ccm-group input:focus {
    background-color: #ffffff !important;
    border-color: #1a5276 !important;
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.15) !important;
}

/* Checkbox Container Styling */
.ccm-checkbox-container {
    max-height: 240px;
    overflow-y: auto;
    border: 1.5px solid #d0dbe5;
    border-radius: 10px;
    padding: 16px;
    background: #f9fbfd;
}

/* Custom Scrollbar for Checkbox Container */
.ccm-checkbox-container::-webkit-scrollbar {
    width: 6px;
}
.ccm-checkbox-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.ccm-checkbox-container::-webkit-scrollbar-thumb {
    background: #1a5276;
    border-radius: 4px;
}

/* Service Category Block */
.ccm-service-category {
    margin-bottom: 15px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #eaeaea;
}

.ccm-service-category:last-child {
    margin-bottom: 0;
}

.ccm-service-category strong {
    display: block;
    color: #8C2373;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 4px;
}

.ccm-service-category label {
    display: flex !important;
    align-items: center !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #4a5568 !important;
    margin-bottom: 6px !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ccm-service-category label:hover {
    color: #1a5276 !important;
}

.ccm-service-category input[type="checkbox"] {
    margin-right: 10px !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer;
    accent-color: #e65100;
}

/* Submit Button */
.ccm-btn {
    width: 100% !important;
    background: #8C2373 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    margin-top: 8px !important;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25) !important;
}

.ccm-btn:hover {
    background: #000 !important;
}

.ccm-btn:active {
    transform: scale(0.99);
}

/* Alert Notifications */
.ccm-alert {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
    display: none;
    text-align: center;
}
.ccm-alert.success { background: #e6f4ea !important; color: #137333 !important; border: 1px solid #b7e1cd !important; }
.ccm-alert.error { background: #fce8e6 !important; color: #c5221f !important; border: 1px solid #f5c2c7 !important; }

/* Responsive adjustments for Mobile Popups */
@media screen and (max-width: 576px) {
    .ccm-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .ccm-title {
        font-size: 18px !important;
    }
}



.pum-theme-1002 .pum-container, .pum-theme-lightbox .pum-container

 {
 
    border: 8px solid #8C2373 !important;
    box-shadow: 0px 0px 30px 0px rgba(140, 35, 115, 1.00) !important;
    
    
 }
 .pum-theme-1002 .pum-content + .pum-close, .pum-theme-lightbox .pum-content + .pum-close {
     background-color:#000 !important;
 }