/* Multi-step Form Styles */
.cs_live_registration_container .progress-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 6px;
}

.cs_live_registration_container .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    transition: width 0.3s ease;
    width: 20%;
}

.cs_live_registration_container .multistep-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    align-items: flex-start;
}

.cs_live_registration_container .form-container {
    flex: 1;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cs_live_registration_container .step-content {
   /* */ display: none; 
    padding: 40px;
}

.cs_live_registration_container .step-content.active {
    display: block;
}

.cs_live_registration_container .step-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.cs_live_registration_container .step-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Portal Options */
.cs_live_registration_container .portal-options {
    margin-bottom: 30px;
}

.cs_live_registration_container .portal-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cs_live_registration_container .portal-option:hover {
    border-color: #4a90e2;
}

.portal-option.selected {
    border-color: #4a90e2;
    background-color: #f8f9ff;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.option-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.option-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Feature Options */
.feature-options {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.feature-item.active {
    background-color: #f8f9ff;
    border-color: #4a90e2;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
}

.feature-content p {
    margin: 0;
    color: #666;
    font-size: 12px;
}

.feature-toggle {
    margin-left: auto;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    background-color: #ccc;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

input[type="checkbox"]:checked + .toggle-switch {
    background-color: #4a90e2;
}

input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(22px);
}

input[type="checkbox"] {
    display: none;
}

/* Form Elements */
.form-wrap {
    margin-bottom: 30px;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-options .profile-form {
    gap: 8px;
    margin-bottom: 24px;
}

.contact-option .profile-form:last-child {
    margin-bottom: 0;
}

.profile-form-res {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-tag label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.profile-tag label.customErrorClass {
    color: #f00;
    display: block;
    font-size: 12px;
}

.pop-form-tag {
    position: relative;
}

.pop-form-tag input, .pop-form-tag textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.pop-form-tag input:focus, .pop-form-tag textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.required_star {
    color: #e74c3c;
}

.form-help {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Contact Options */
.contact-options {
    margin-bottom: 30px;
}

.contact-option {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0;
}

.contact-option input[type="checkbox"] {
    display: block;
    width: auto;
    margin: 0;
}

.contact-option label {
    font-weight: 500;
    cursor: pointer;
}

/* AI Content Section */
.ai-content-section {
    margin-bottom: 30px;
}

.ai-suggestion {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #4a90e2;
}

.ai-suggestion p {
    margin: 0 0 10px 0;
}

.ai-suggestion p:last-child {
    margin-bottom: 0;
}

.ai-input-section {
    margin-bottom: 20px;
}

.ai-input {
    width: calc(100% - 80px) !important;
    display: inline-block !important;
}

.ai-send-btn {
    width: 70px;
    margin-left: 10px;
    padding: 12px 16px;
}

.suggestion-tags {
    margin-top: 10px;
}

.suggestion-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.suggestion-tag:hover {
    background: #e0e0e0;
}

.ai-content-options {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.ai-content-options input[type="checkbox"] {
    margin-right: 10px;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #4a90e2;
    color: white;
}

.btn-primary:hover {
    background: #357abd;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #333;
}

.btn-outline:hover {
    background: #f8f9fa;
}

/* Preview Container */
.preview-container {
    flex: 1;
    width: 100%;
    position: sticky;
    top: 20px;
}

.preview-header {
    text-align: center;
    margin-bottom: 10px;
    color: #3A3A3A;
    font-size: 14px;
    font-weight: 700;
}

.preview-window {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.preview-portal {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    min-height: 500px;
}

.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 30px;
    background: #fff;
    border-bottom: 1px solid #EBEFF2;
}

.portal-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
}

.portal-brand img {
    margin-right: 10px;
}

.portal-user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #334D6E;
}

.portal-user-info img {
    margin-right: 7px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
}

.portal-user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.portal-login {
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    color: #334D6E;
}

.portal-content {
    display: flex;
    min-height: 450px;
}

.portal-sidebar {
    background: #fff;
    border-right: 1px solid #EBEFF2;
    padding: 16px 30px 0 30px;
    width: 200px;
}

.agent-info {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agent-info > img {
    height: 92px;
    width: 92px;
    border-radius: 50%;
}

.agent-name {
    color: #334D6E;
    font-size: 15px;
    font-weight: 700;
    padding: 1px 0 4px 0;
}

.list-details {
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A6A6A6;
    background-repeat: no-repeat;
    background-position: 0 center;
    padding-left: 20px;
}

.agent-email {
    background-image: url(../../images/client-email.svg);
}

.agent-phone {
    background-image: url(../../images/phone-line.svg);
}


.preview-action-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-action-buttons button {
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    background: #fff;
    border: 1px solid #e6e6e6;
    color: #c1c1c1;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    font-size: 15px;
}

.preview-action-buttons button.active {
    background: #109CF1;
    color: #fff;
    border-color: transparent;
}

.preview-action-buttons button img {
    width: 15px;
    height: 15px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(1%) saturate(310%) hue-rotate(328deg) brightness(87%) contrast(92%);
}

.preview-action-buttons button.active img {
    filter: brightness(0) invert(1);
}

.preview-action-buttons button.active svg path {
    fill: #fff !important;
}

.preview-action-buttons button img, .preview-action-buttons button svg {
    margin-right: 8px;
}

.portal-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 24px 0 30px 0;
}

.portal-nav .nav-item {
    height: auto;
    display: flex;
    align-items: center;
    color: #334D6E;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.portal-nav .nav-item.active, .portal-nav .nav-item:hover {
    color: #109CF1;
}

.portal-nav .nav-item span {
    margin-right: 12px;
}

span.list-icon {
    background-color: #334D6E;
    min-width: 18px;
    display: inline-block;
    height: 18px;
}

.portal-nav .nav-item.active span, .portal-nav .nav-item:hover span {
    background-color: #109CF1;
}

span.client-portal-icon {
    -webkit-mask: url(../../images/icons/menu-icon/pages.svg) no-repeat center;
    mask: url(../../images/icons/menu-icon/pages.svg) no-repeat center;
}

span.work-journal-icon {
    -webkit-mask: url(../../images/icons/menu-icon/work-journals.svg) no-repeat center;
    mask: url(../../images/icons/menu-icon/work-journals.svg) no-repeat center;
}

span.conversation-icon {
    -webkit-mask: url(../../images/icons/menu-icon/conversations.svg) no-repeat center;
    mask: url(../../images/icons/menu-icon/conversations.svg) no-repeat center;
}

span.file-icon {
    -webkit-mask: url(../../images/icons/menu-icon/files.svg) no-repeat center;
    mask: url(../../images/icons/menu-icon/files.svg) no-repeat center;
}

span.project-icon {
    -webkit-mask: url(../../images/icons/new-icon/project.svg) no-repeat center;
    mask: url(../../images/icons/new-icon/project.svg) no-repeat center;
}

span.password-icon {
    -webkit-mask: url(../../images/icons/menu-icon/passwords.svg) no-repeat center;
    mask: url(../../images/icons/menu-icon/passwords.svg) no-repeat center;
}

.portal-main {
    flex: 1;
    padding: 20px;
}

.portal-main h2 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .multistep-container {
        flex-direction: column;
    }
    
    .preview-container {
        position: relative;
        top: auto;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .multistep-container {
        gap: 20px;
        margin: 0 10px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .profile-form-res {
        grid-template-columns: 1fr;
    }
    
    .portal-content {
        flex-direction: column;
    }
    
    .portal-sidebar {
        width: auto;
    }
}

/* Icons (you can replace these with actual icon fonts) */
.icon-building::before { content: "ðŸ¢"; }
.icon-users::before { content: "ðŸ‘¥"; }
.icon-page::before { content: "ðŸ“„"; }
.icon-check::before { content: "âœ…"; }
.icon-chat::before { content: "ðŸ’¬"; }
.icon-folder::before { content: "ðŸ“"; }
.icon-lock::before { content: "ðŸ”’"; }
.icon-chart::before { content: "ðŸ“Š"; }
.icon-home::before { content: "ðŸ "; }


/* Additional styles for Step 6 */
.account-creation-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn-full {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border: none;
}

.btn-linkedin:hover {
    background: #005885;
}

.divider-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    position: relative;
    margin: 10px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.create-account-btn {
    background: #4a90e2;
    color: white;
    border: none;
}

.create-account-btn:hover {
    background: #357abd;
}

.icon-linkedin::before {
    content: "ðŸ’¼";
    margin-right: 8px;
}

/* Override step navigation for this step */
.admin_content .step-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.admin_content .step-navigation .btn-secondary {
    align-self: flex-start;
}

/* Action Buttons Step Styles */
.action-buttons-section {
    margin-bottom: 30px;
}

.action-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.action-item:hover {
    border-color: #4a90e2;
}

.action-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    border: 2px solid #e0e0e0;
}

.action-content {
    flex: 1;
}

.action-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.action-toggle {
    margin-left: auto;
}

.button-text-section {
    margin-top: 20px;
    padding: 0;
    width: 100%;
}

.button-text-section .profile-tag {
    margin-bottom: 0;
}

.button-text-section label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.button-text-section .pop-form-tag input {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.button-text-section .pop-form-tag input:focus {
    background: white;
    border-color: #4a90e2;
    outline: none;
}

/* Update preview when actions are toggled */


/* Icons */
.cs_live_registration_container .icon-request::before {
    content: "ðŸ“";
}

.cs_live_registration_container .icon-schedule::before {
    content: "ðŸ“…";
}

.cs_live_registration_container .task_loader { position: relative; }
.cs_live_registration_container .task_loader:before { content: ""; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.5) url(../../images/new_loader.png) no-repeat center / 28px; min-height: 30px; z-index: 99; }



.cs_live_registration_container .progress-container {
    margin: 50px auto 40px;
}

.cs_live_registration_container .step-content, .cs_live_registration_container .multistep-container, .cs_live_registration_container .action-content p, .cs_live_registration_container .feature-content p {
    text-align: left;
}

.cs_live_registration_container .step-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    text-align: left;
}

.cs_live_registration_container .portal-main h2 {
    line-height: normal;
}

.cs_live_registration_container .feature-content .btn {
    padding: 3px 10px;
    font-size: 12px;
    font-weight: normal;
    margin-left: 2px;
    background: rgb(219 234 254);
    color: rgb(29 78 216);
}

.walkthrough-btn {
    padding: 0;
    background: transparent;
    border: none;
    color: #666;
    margin-right: 16px;
    font-weight: 500;
}

.walkthrough-second-btn {
    font-weight: 500;
    border-width: 2px;
    border-color: #666;
    color: #666;
    padding: 8px 16px;
}

.hero-6-3-model {
    padding-top: 60px;
    background: url(../../images/v7-images/ellipse-6-3.svg) center 0 / 80% auto no-repeat;
}

@media(max-width: 767px) {
    .cs_live_registration_container .progress-container { margin: 0 10px 30px; width: auto; }
    .pb-40 { padding-bottom: 40px; }
    .cs_live_registration_container .form-container { width: 100%; }
    .cs_live_registration_container .portal-content { flex-direction: row; }
    .cs_live_registration_container .portal-sidebar { max-width: 200px; padding: 16px; }
}