.field_3619 legend {
    display: none !important;
}

.field_3619 .option-label {
    color: #000 !important;
}

.current-visibility-level {
    display: none !important;
}

/* Disabled field styles */
.disabled-field {
    opacity: 0.5;
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
}

.disabled-field:hover {
    opacity: 0.5;
}

/* Specific styling for disabled BuddyPress profile fields */
#field_3578.disabled-field,
#field_3579.disabled-field {
    background-color: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ddd !important;
}

/* Optional: Add visual indicator for conditional fields */
.field-dependency-disabled {
    position: relative;
}

.field-dependency-disabled::after {
    content: "This field is disabled because the checkbox above is checked.";
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.section_name {
    padding: 0 !important;
}

/* Prerequisites Popup Styles */
.ccpps-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.ccpps-popup-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.ccpps-popup-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccpps-popup-header h3 {
    margin: 0 !important;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

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

.ccpps-popup-close:hover {
    background: #e9ecef;
    color: #666;
}

.ccpps-popup-body {
    padding: 20px;
}

.ccpps-popup-body p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.ccpps-prerequisites-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ccpps-prerequisites-list li {
    margin-bottom: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ccpps-prerequisites-list li:hover {
    background: #e9ecef;
    border-color: #007cba;
}

.ccpps-prerequisite-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccpps-step-number {
    font-weight: bold;
    color: #007cba;
    min-width: 20px;
}

.ccpps-prerequisite-link {
    text-decoration: none;
    color: #007cba;
    font-weight: 500;
    width: 100%;
}

.ccpps-prerequisite-link:hover {
    color: #005a87;
    text-decoration: none;
}

.ccpps-link-arrow {
    font-weight: bold;
    transition: transform 0.2s ease;
}

.ccpps-prerequisite-link:hover .ccpps-link-arrow {
    transform: translateX(3px);
}

.ccpps-popup-note {
    margin-top: 15px;
    padding: 10px;
    background: #f0f8ff;
    border-left: 3px solid #007cba;
    border-radius: 4px;
}

.ccpps-popup-note p {
    margin: 0;
    color: #555;
}

.ccpps-popup-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    text-align: right;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.ccpps-popup-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ccpps-popup-btn-secondary {
    background: #6c757d;
    color: white;
}

.ccpps-popup-btn-secondary:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .ccpps-popup-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .ccpps-popup-header,
    .ccpps-popup-body,
    .ccpps-popup-footer {
        padding: 15px;
    }
}