.cb-customize-group-button {
    display: inline-block;
    min-width: 185px;
    padding: 14px 22px;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #3951A3;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.cb-customize-group-button:hover {
    color: #FFF;
    /* background-color: #2c3e88; */
}

.cb-disabled-pointer{

    pointer-events: none;
    cursor: not-allowed !important;
}

/* .cb-custom-url-conatiner{
    display:flex;
    align-items: center;
}

.cb-company-name-url-validation-message{
    color: red;
    display: none;
} */

.custom-login-page-cust-container {
    max-width: 950px;
    margin: 0 auto;
}

.cb-login-validation-messages{

	color: red;
}

#custom-learn-dash-form {
    width: 100%;
    padding: 20px;
    margin: 1em 0;
    text-align: left;
    border-radius: 5px;
    border: 1px solid #cfc8d8;
}

/* .form-section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
} */

#custom-learn-dash-form  .custom-learn-dash-form-section-heading {
    font-size: 18px !important;
    font-weight: 600;
    color: #3d51a3;
}

#custom-learn-dash-form .form-section {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dddddd;
}

/* .form-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
} */

#custom-learn-dash-form .customization-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

#custom-learn-dash-form .customization-options input[type="radio"] {
    margin: 0px 5px 0px 0px !important;
}

.customization-options label {
    display: flex;
    align-items: center;
}

#custom-learn-dash-form .cb-url-box {
    margin-bottom: 10px;
    display: flex;
    /* align-items: center; */
    gap: 5px;
    flex-wrap: wrap;
}

#custom-learn-dash-form .cb-url-box > p {
    padding: 9px 0px !important;
}

#custom-learn-dash-form .cb-url-box > div {
    position: relative;
    min-height: 72px;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
}

#custom-learn-dash-form .cb-url-box > div .cb-validation-message-container {
    font-size: 12px !important;
}

#custom-learn-dash-form .cb-url-box > div .cb-custom-form-svg-loader {
    position: absolute;
    right: 0px;
    top: 5px;
}

.cb-view-link-container p {
    margin: 0px 0px 5px 0px !important;
}

.cb-view-link-container p > a {
    border: none;
    display: inline-block;
    min-width: 140px;
    padding: 14px 22px;
    text-align: center;
    line-height: 1;
    font-weight: 700;
    font-size: 14px;
    color: #FFF;
    background-color: #3D51A2;
    cursor: pointer;
}

#custom-learn-dash-form input[type="text"] {
    margin-bottom: 0px !important;
    /* flex: 1; */
    border: 1px solid #c3c3c3;
    width: 100%;
    font-size: 15px !important;
}

#custom-learn-dash-form .cb-url-box p {
    margin: 0 !important;
    font-weight: 600;
}

#custom-learn-dash-form #cb-company-welcome-message {
    width: 100%;
}

/* .cb-company-url-input {
    width: 150px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
} */

.cb-company-name-url-validation-message {
    color: red;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 0px;
}

#custom-learn-dash-form .cb-custom-learn-dash-form-color-flex {
    /* max-width: 640px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

#custom-learn-dash-form .cb-custom-learn-dash-form-color-flex > div {
    flex: 1;
    padding: 10px;
    font-weight: 600;
    border-radius: 5px;
    background-color: #F6F7F9;
}

.cb-custom-learn-dash-form-color-flex .sp-replacer {
    width: 100%;
    max-width: 150px;
    min-width: 150px;
    background-color: #fff;
}

.cb-custom-learn-dash-form-color-flex .sp-replacer .sp-preview {
    width: 80%;
}

.sp-picker-container .sp-button-container .sp-choose {
    line-height: 1;
    height: auto;
}

/* input[type="text"], 
.cb-color-picker-field {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
} */

/* Submit Button CSS */
#cb-submit-custom-fields {
    width: 100%;
    padding: 14px 22px;
    text-align: center;
    line-height: 1;
    font-weight: 700;
    font-size: 16px;
    color: #FFF;
    background-color: #3D51A2;
    cursor: pointer;
    border-radius: 0px;
    margin-top: 20px;
}

#cb-submit-custom-fields:hover {
    background-color: #304183;
}

input[type="button"]#cb-custom-site-logo, #cb-ld-dashboard-bg-preview {
    border: none;
    display: inline-block;
    min-width: 140px;
    padding: 14px 22px;
    text-align: center;
    line-height: 1;
    font-weight: 700;
    font-size: 14px;
    color: #FFF;
    background-color: #3D51A2;
    cursor: pointer;
}

input[type="button"]#cb-custom-site-logo:hover, #cb-ld-dashboard-bg-preview:hover {
    background-color: #304183;
}

#custom-learn-dash-form #image_preview #cb-dashboard-background-image-preview{
    margin: 10px 0px;
}

/* input[type="submit"] {
    width: auto;
    padding: 10px 30px;
    font-size: 14px;
} */

.cb-ld-dashboard-customization-message{
    color: red;
}

#custom-learn-dash-form h3 {
    margin: 0px 0px 15px 0px;
}

.field-fade-effect{
    opacity: 0.5;
    pointer-events: none;
}

.red-validation-messages{
    color:red;
}

/* Image Div and Cross Styling */
.form-section.custom-form-field #image_preview, 
.form-section #cb-ld-dashbaord-bg-preview {
    display: inline-block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 10px;
}

.form-section.custom-form-field #image_preview p.red-validation-messages {
    margin: 0px !important;
}

.form-section.custom-form-field #image_preview #cb-remove-custom-logo, 
.form-section #cb-ld-dashbaord-bg-preview #cb-remove-custom-bg-image {
    position: absolute;
    top: -10px;
    right: -7px;
    border-radius: 50%;
    color: #FFF;
    background-color: red;
    line-height: 1.2;
    padding: 0px 5px 3px;
    cursor: pointer;
}

/* #cb-remove-custom-bg-image{
    position: absolute;
    top: -10px;
    right: -7px;
    border-radius: 50%;
    color: #FFF;
    background-color: red;
    line-height: 1.2;
    padding: 0px 5px 3px;
    cursor: pointer;
} */
/* Tooltip CSS */
.custom-login-page-heading-tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.custom-login-page-heading-tooltip img {
    margin-top: 2px;
}

.custom-login-page-tooltip-content {
    opacity: 0;
    z-index: 999;
    visibility: hidden;
    position: absolute;
    bottom: 100%;
    right: -15px;
    color: #FFF;
    padding: 5px;
    text-align: center;
    line-height: 1.7;
    font-size: 12px !important;
    max-width: 250px;
    width: max-content;
    border-radius: 4px;
    background-color: #2f2f2f;
    transition: opacity 0.3s ease;
}

.custom-login-page-tooltip-content > a {
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    color: #7bd9ff;
}

.custom-login-page-heading-tooltip:hover .custom-login-page-tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Media Upload Fixes */
.attachments-browser .media-toolbar {
    height: 100px;
}

.attachments-browser .attachments {
    padding: 45px 8px 8px;
}

.media-modal-content .media-frame select.attachment-filters {
    width: 100% !important;
    max-width: max-content;
}

/* View Link Button */
.cb-custom-link-view-page-btn {
    color: #FFF; 
    padding: 0px 10px; 
    line-height: 2.4; 
    height: auto !important;
}

/* Red Warning Message CSS */
#custom-learn-dash-form .form-section .cb-wc-message-legth,
#custom-learn-dash-form .form-section .cb-image-rec-size {
    font-size: 12px;
    /* color: #ff0000; */
    margin-top: 5px;
    font-weight: 500;
}