

.vib-v2-hamburger-menu,
section > div > div.vib-v2-main-nav-home.vib-v2-main-nav-form-header > ul {
    display: none;
}

/* Customer Service Feedback Custom Styles */

/* Header Navigation */
.cs-navigation {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.cs-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-nav-container a {
    display: inline-flex;
    text-decoration: none;
}

.cs-logo-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: auto;
}

.cs-logo-text {
    background-image: url('./img/blue_vib_logo_text.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 60px;
    height: 28px;
    display: block;
}

.cs-logo-symbol {
    background-image: url('./img/VIB_Logo_Symbol.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 768px) {
    .cs-logo-text {
        width: 70px;
        height: 20px;
    }
    
    .cs-logo-symbol {
        width: 20px;
        height: 20px;
    }
    
    .cs-navigation {
        padding: 16px 0;
    }
    
    .cs-logo-box {
        gap: 6px;
    }
    
    .cs-nav-container {
        padding: 0 16px;
    }
    
    .cs-page-title {
        padding: 30px 16px;
    }
    
    .cs-title-container h3 {
        font-size: 20px;
    }
}

/* Page Title Section */
.cs-page-title {
    background: #f8fafc;
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cs-title-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cs-title-container h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

/* Radio Group */
.cs-radio-group {
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-bottom: 30px;
    align-items: center;
}

.cs-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #1e293b;
    position: relative;
}

.fixed-copyright .col-sm-6:first-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fixed-copyright .col-sm-6:last-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


@media screen and (max-width: 767px) {
    /* .textarea-field {
        min-height: 92px;
        resize: vertical;
        padding: 16px 12px 8px 12px;
        line-height: 1.5;
        max-height: unset;
    } */
    .fixed-copyright .col-sm-6:last-child {
        margin-top: 4px !important;
    }
    .cs-form .form-grid.info-customer-group {
        grid-row-gap: 20px;
        grid-column-gap: 0 !important;
    }
    .cs-form .form-grid.info-customer-group .form-field {
        grid-column:  1 / span 2;
    }
}

.cs-radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border-width: 2px;
    border-color: #AAA;
    border-style: solid;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #ffffff;
}

.cs-radio-label input[type="radio"]:checked {
    border-color: #1e293b;
    border-width: 7px;
    background: #ffffff;
}

.cs-radio-text {
    font-weight: 400;
}

.cs-info-icon {
    margin-left: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    vertical-align: middle;
    transition: opacity 0.2s ease;
    opacity: 1;
}

.cs-info-icon:hover {
    opacity: 0.8;
}

/* Modal Styles */
.cs-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.cs-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cs-modal-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cs-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px 20px 20px;
    /* border-bottom: 1px solid #e5e7eb; */
    flex-shrink: 0;
    position: relative;
}

.cs-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    /* color: #1e293b; */
}

.cs-modal-close {
    background: none;
    position: absolute;
    right: 10px;
    top: 10px;
    border: none;
    font-size: 28px;
    color: #000000;
    cursor: pointer;
    padding: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cs-modal-close:hover {
    background: #f1f5f9;
    color: #334155;
}

.cs-modal-body {
    padding: 0 20px 30px;
    padding-top: 0px;
    overflow: scroll;
    flex: 1;
}

.cs-modal-section {
    margin-bottom: 20px;
}

.cs-modal-section:last-child {
    padding-bottom: 30px;
    margin-bottom: 0px !important;
}

.cs-modal-section h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
}

.cs-modal-section p {
    margin: 0;
    font-feature-settings: 'liga' off, 'clig' off;
    /* Body 16/Regular */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
}

.cs-modal-section ul {
    margin: 0;
    padding-left: 20px;
}

.cs-modal-section li {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 8px;
}

.cs-modal-section li:last-child {
    margin-bottom: 0;
}

.first-page.fixed  {
        position: fixed !important;
        bottom: 0;
}

.form-field#accountNumber {
        grid-column: 1 / span 2;
}

@media screen and (min-width: 769px) and (max-width: 1025px) {
    .cs-form.cs-form {
        padding: 30px 20px;
    }
 
    
}

/* Mobile full screen modal */
@media (max-width: 1024px) {
    .cs-modal.active {
        padding: 0;
    }

    .cs-modal-content {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* Form Styling */
.cs-form {
    max-width: 768px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 4px;
    /* box-shadow: 0 1px 5px hsla(0,0%,74%,.25); */
    /* box-shadow: 0px 1px 5px rgba(188.06, 188.06, 188.06, 0.25) */
    box-shadow: 0 1px 5px 0 rgba(188, 188, 188, 0.25);
}

.cs-form h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.cs-form .form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.css-form .form-grid:has(textarea) {
    max-height: 95px;
}

.cs-form .form-grid.hidden {
    display: none !important;
}

 #form_feedback > div:nth-child(3) {
    grid-template-columns: 1fr;
 }

.cs-form .form-field {
    width: 100% !important;
    /* line-height: 100%; */
}

@media (max-width: 767px) {
    .cs-form .form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Submit Button */
.cs-submit-wrapper {
    text-align: right;
    margin-top: 30px;
}

.cs-submit-btn {
    background: #fbbf24;
    color: #1e293b;
    font-weight: 700;
    border: none;
    min-width: 125px;
    height: 48px;
    padding: 11px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cs-submit-btn:hover {
    background: #000;
    color: #FFF;
}

.cs-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Rating Stars */
.info-notice {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    padding: 16px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.info-notice p {
    margin: 0;
    color: #0c4a6e;
    font-size: 14px;
    line-height: 1.5;
}

/* Section Title - using template style */
.break-line {
    border-top: 1px solid #e5e7eb;
    margin: 30px 0;
}

.title_3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 30px 0 20px 0;
}

.cs-form .form-grid.info-customer-group {
    grid-row-gap: 20px;
    grid-column-gap: 30px;
}

.mt-30 {
    margin-top: 30px;
}

/* rating container */

div#rating-start {
    margin-bottom: 0px !important;
    padding-top: 20px;
}

.rating-container {
    margin-top: 10px;
    display: flex;
    align-items: start;
    flex-direction: column;
}

/* Rating Stars */
.rating-label {
    display: block;
    color: black;
    font-size: 20px;
    font-family: Inter;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}



.star-rating input[type="radio"] {
    display: none;
}

.star-rating label.star {
    font-size: 40px;
    color: #E4E4E4;
    cursor: pointer;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.star-rating label.star:hover,
.star-rating label.star:hover ~ label.star,
.star-rating input[type="radio"]:checked ~ label.star {
    color: #fbbf24;
}

/* Rating text display below stars */
.rating-text-display {
    margin-top: 10px;
    color: #5E5C62;
    font-size: 14px;
    font-family: Inter;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
    text-align: left;
}

.rating-text-display:empty::before {
    content: '\00A0';
}

.floating-label input.floating-input {
    min-height: 50px;
    max-height: 50px;
    line-height: 1.5;
    height: unset;
}

.floating-label.textarea-wrapper {
    margin-top: 15px;
    
}

.textarea-field:not(:placeholder-shown) {
  min-height: 60px;
  max-height: 100px !important;
  /* fixed height like origin web */
}

/* Textarea */
.textarea-field {
    min-height: 60px;
    resize: vertical;
    padding: 16px 12px 8px 12px;
    line-height: 1.5;
    max-height: 75px !important;
}

.textarea-wrapper {
  position: relative;
}

.char-counter {
    position: absolute;
    right: 0;
    font-size: 12px;
    color: #5E5C62;
    font-size: 14px;
    font-family: Inter;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}

.rating-error-placeholder {
  display: block;
  min-height: 0;
  line-height: 100%;
}

.rating-error-placeholder:empty {
  display: none;
}

.rating-error-placeholder .invalid {
  display: block;
}

#rating-start >.form-field {
    height: 92px;
}

#form_feedback > div.form-grid:nth-child(5) .floating-label .floating-input:not(:placeholder-shown)~label,
#form_feedback > div.form-grid:nth-child(5) .floating-label .floating-input:focus~label
{
    top: 0px;
    background-color: white;
}

.floating-label.textarea-wrapper label#feedbackLabel {
    width: 97%;
    background-color: white;
    top: 0px;
}

/* Field fullwidth */
.field-fullwidth {
    grid-column: 1 / -1;
}

/* Form Footer */
.form-footer {
    background: #f9fafb;
    padding: 30px 20px;
    margin-top: 40px;
}

.shield-icon {
    width: 32px;
    height: 32px;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;
}

.copyright p {
    margin: 4px 0;
}

section.first-page#fixed-copyright {
    box-shadow: 0 3px 5px rgba(57, 63, 72, .3);
    border-top: 1px solid var(--bg-color-mono-4);
    padding: 12px 0;
    color: var(--bg-color-mono-3);
    width: 100vw;
    border: none;
    position: relative;
    margin-top: 40px;
}

/* Responsive */
@media screen and (min-width: 769px) {
    .form-body.cs-form, .finish-digi {
        border-radius: 4px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .row > [class^=col-], .row .col {
        padding-left: 0 !important;
    }

    .cs-form.cs-form {
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .cs-radio-group {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .form-body.cs-form .cs-radio-group {
        margin-bottom: 20px;
    }
    
    .star-rating label.star {
        font-size: 32px;
    }
    
    .cs-submit-wrapper {
        text-align: end;
    }
    
    .cs-submit-btn {
        width: fit-content;
        height: 48px;
        min-width: 125px;
    }
    
    .break-line {
        margin: 30px -20px auto;
        margin: 10px 0;
    }

    .feedback-content {
        max-height: unset !important;
    }

    .textarea-field {
        min-height: 96px !important;
        max-height: 96px !important;
        
        resize: none;
    }
}

/* Field fullwidth */
.field-fullwidth {
    grid-column: 1 / -1;
}

/* Form Validation Error Styles */
span.invalid {
    position: relative;
    top: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #FF0000;
    margin: 5px 0 0;
    display: inline-block;
}

 

 
input.invalid, 
textarea.invalid,
select.invalid {
    border-bottom: 2px solid #FF0000 !important;
    border-radius: 0 !important;
}

select.invalid ~ .bootstrap-select .dropdown-toggle {
    border-bottom: 2px solid #FF0000 !important;
    border-radius: 0 !important;
}

.star-rating + span.invalid {
    display: block;
    margin-top: 10px;
}

/* Specific error message styling for IDs */
span[id$="-error"].invalid,
span.invalid[id$="-error"] {
    position: relative !important;
    top: 0 !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    color: #FF0000 !important;
    margin: 5px 0 0 !important;
    display: inline-block;
}

.feedback-content {
    max-height: 96px;
}

.bs-searchbox .clear-input{
    position: absolute;
    top: 30px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: var(--icon-Close) center no-repeat;
    right: 25px;
    background-size: 20px;
}

/* Toast Notification - Top Center */
.cs-toast-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: top 0.3s ease;
    min-width: 320px;
    max-width: 90%;
}

.cs-toast-notification.show {
    top: 80px;
}

.cs-toast-icon {
    font-size: 24px;
    color: #ff9800;
    flex-shrink: 0;
}

.cs-toast-message {
    font-size: 14px;
    font-weight: 500;
    color: #856404;
    line-height: 1.4;
}

/* custom footer policy form */

#simple-content .wrapper .form-footer {
    max-width: 768px;
    background-color: transparent;
    padding-bottom: 40px !important;
}

#simple-content .wrapper .baomat .form-footer {
    overflow: hidden;
    margin: 20px auto 40px;
}

.grecaptcha-badge { visibility: hidden; }
#moreCaptcha {
    display: block !important;
}

@media (max-width: 768px) {
    .cs-toast-notification {
        min-width: 280px;
        padding: 14px 20px;
    }
    
    .cs-toast-notification.show {
        top: 70px;
    }
    
    .cs-toast-icon {
        font-size: 20px;
    }
    
    .cs-toast-message {
        font-size: 13px;
    }
}