﻿#progress-bar, #top-details, .back-btn {
    display: none !important;
}
.cdpgrp input {
    width: 65px !important;
    font-size: 16px;
    padding: 6px;
    display: inline;
}
.popover {
    max-width: 375px;
}
.popover-content {
    max-height: 160px;
    overflow: auto;
    background: #f4faff;
}
.sub-container{
    max-width:800px;
}
.sub-container .heading1{
    text-align:center;
}

/* Representative / Financial Advisor Section Styles */
.rep-section {
    margin: 32px 0 24px 0;
    padding: 0 0 24px 0;
    max-width: 550px;
}
.rep-question-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}
.rep-question-row2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}
.rep-question {
    font-size: 14px;
    margin-right: 16px;
}
.rep-btn {
    min-width: 80px;
    padding: 7px 0;
    border: none;
    border-radius: 6px;
    background: #dddbdb;
    color: #444;
    font-weight: 500;
    font-size: 15px;
    margin-right: 8px;
    transition: background 0.2s, color 0.2s;
    outline: none;
    cursor: pointer;
}
.rep-btn.active, .rep-btn:active {
    background: #0074d9;
    color: #fff;
}
.rep-btn:last-child {
    margin-right: 0;
}
.rep-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.rep-input-row2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.rep-input-label {
    font-size: 14px;
    margin-right: 12px;
}
.rep-input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
.rep-info {
    display: flex;
    align-items: flex-start;
    margin-top: 8px;
    gap: 16px;
}
.rep-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    font-size: 40px;
    color: #0074d9;
}
.rep-info-details {
    flex: 1;
}
.rep-info-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}
.rep-info-desc {
    margin-bottom: 4px;
}
.loading-overlay + .loading {
    color: #333;
}
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ddd;
}
.rep-info img{
    width:28px;
    height:28px;
}
.error-note {
    padding-left: 0px;
    color: red;
    font-size: 12px;
    padding: 0px;
    margin-bottom: 0px;
}
.rep-info-icon img:nth-child(2), .rep-info-icon img:nth-child(3) {
    margin-left: -16px;
}
#rep-no-section, .rep-info-yes {
    background: #eaf7fd;
    border-radius: 5px;
    padding: 16px 18px;
}
.rep-info-contact, .rep-info-desc{
    font-size:14px;
}
/* Mobile-specific styles for rep section */
@media (max-width: 767px) {
    .rep-question-row2, .rep-input-row2 {
        display: block;
    }
    .button-row{
        margin-top:10px;
    }
    .button-row button{
        flex:1;
    }
    #rep-input {
        margin-top: 10px;
    }
}
@media (min-width: 768px) {
    .input-div {
        width: 285px;
    }
}