﻿

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto';
}
 .optional {
        font-size: 14px;
        color: #999;
        font-weight: normal;
        margin-left: 5px;
    }

body {
    background: #f5f7fa;
    color: #212121;
    line-height: 1.6;
    min-height: 100vh;
}

option:hover {
    background: grey !important;
}

    .select2-container .select2-selection--single, .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 37px;
    }

.select2-container--default .select2-selection--single .select2-selection__rendered{
    height: 37px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
   line-height: 37px;
}
.select2-selection__placeholder {
    color: #999 !important; /* Light gray */
    font-weight: normal;
    opacity: 0.7;
}
.select2-selection__rendered {
    color: #000 !important; /* Dark text */
   
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f5f5f5;
    color: #212121;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #c8ced6;
    color:white;
}

    .para-income {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto';
}

.Decsription {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    /* or 20px */
    letter-spacing: 0.17px;
    color: #757575;
}


.ie-form-card {
    box-sizing: border-box;
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 8px 16px 16px;
    gap: 17px;
    width: 386px;
    height: 76px;
    background: #FAFAFA;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.ie-form-icon {
    left: 4.92%;
    right: 90.41%;
    top: 36.84%;
    bottom: 36.84%;
}

.ie-form-content {
    width: 220px;
    height: 44px;
}

.ie-form-title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    /* identical to box height, or 24px */
    letter-spacing: 0.15px;
    color: #212121;
}

.ie-form-subtext {
    width: 220px;
    height: 20px;
    /* typography/body2 */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    /* identical to box height, or 20px */
    letter-spacing: 0.17px;
    color: #E53935;
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}



    .ie-form-action a:hover {
        text-decoration: underline;
    }

.ie-form-open {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 12px;
    gap: 8px;
    width: 84px;
    min-width: 80px;
    height: 30px;
    border-radius: 6px;
    /* Inside auto layout */
    flex: none;
    order: 2;
    flex-grow: 0;
}

.headermain {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 10px;
    height: 60px;
    background: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
}

.logo-main {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin: 0 auto;
    height: 38px;
    padding: 0px 12px;
}



.main-title {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 160%;
    /* identical to box height, or 32px */
    letter-spacing: 0.15px;
    color: #212121;
    margin-left: 16px;
}


 
 

.title-main {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 133.4%; /* identical to box height, or 32px */
    color: #212121;
}


.step {
    text-align: center;
    /* flex: 1; */
    position: relative;
    display: flex;
    align-items: center;
}

    /* .step:not(:last-child)::after { */
    /*     content: ""; */
    /*     position: absolute; */
    /*     top: 15px; */
    /*     left: 50%; */
    /*     width: 100%; */
    /*     height: 2px; */
    /*     background: #ddd; */
    /*     z-index: 1; */
    /* } */

    .step.active:not(:last-child)::after {
        background: #1a5f9e;
    }


.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.step.active .step-number {
    background: #3276CF;
    color: white;
}

.step.completed .step-number {
    background: #3276CF;
    color: white;
    font-weight: bold;
}

.step.completed .step-label {
    font-weight: bold;
}

.step-label {
    font-size: 13px;
    color: #666;
}

.step-connector {
    height: 1px;
    flex: 1;
    background-color: #E0E0E0;
    margin-left: 8px;
    width: 75px;
}

.step.active .step-label {
    /* color: #1a5f9e; */
    font-weight: bold;
}


  
.form-step {
    display: none;
}

    .form-step.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }





.blink {
    animation: blink-border 0.4s ease-in-out;
}

.form-group {
    margin-bottom: 20px;
}

label { 
    margin-bottom: 3px;
    font-weight: 400;
    color: #212121;
    font-size: 14px;
    letter-spacing: 0.15px;
    line-height: 14px;
}

    label.required::after {
        content: " *";
        color: #d9534f;
    }


.iti__country-list {
    width: 384%;

   
}
/*select {
    width:200%;
    max-width: 386px;
    height: 40px;
    border: 1px solid #ccc;*/ /* lighter border like your screenshot */
    /*border-radius: 4px;
    font-size: 15px;
    padding: 0 12px;
    padding-right: 40px;*/ /* space for arrow */
    /*margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    text-align: left;
    box-sizing: border-box;
    color: #333;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}*/



input:focus, textarea:focus {
    border-color: #3276CF;
}

    input.error,  textarea.error {
        border-color: #d9534f;
    }

.error-message {
    color: #d9534f;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


   

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 25px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    margin: 15px 0;
    transition: all 0.3s ease;
}

    .upload-area:hover {
        border-color: #1a5f9e;
        background: #f0f7ff;
    }

    .upload-area i {
        font-size: 32px;
        color: #1a5f9e;
        margin-bottom: 10px;
    }

    .upload-area p {
        margin: 5px 0;
        color: #666;
        font-size: 14px;
    }

    a.ie-form-open {
        text-decoration: none;
    }

.file-thumbnail img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.file-thumbnail i {
    font-size: 32px;
}

.file-info {
    flex: 1;
    margin-left: 10px;
}

.file-name {
    font-weight: 500;
    font-size: 14px;
}

.file-meta {
    font-size: 12px;
    color: #666;
}
.file-actions {
    display: flex;
    align-items: center; /* Vertically centers them */
    justify-content: center; /* Horizontally centers them */
    gap: 8px; /* Space between the icons */
}
.file-actions i {
    font-size: 1.4em;
    align-items: center;
    /* Increase icon size */
}



.file-status {
    color: #4CAF50;
    font-size: 18px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/*.modal-content {
    background: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}*/


.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* stretches across parent container */
    margin: 0 auto; /* center if needed */
}

    .modal-icon i {
        font-size: 48px; /* adjust size as you prefer */
        color: #43A047; /* green color */
    }

.modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary,
.btn-primary {
    border: 1px solid #3276CF;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-secondary {
    background: white;
    color: #3276CF;
}

.btn-primary {
    background: #3276CF;
    color: white;
}




.file-remove {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
}





    .file-badge .remove-file {
        color: #d9534f;
        cursor: pointer;
        font-size: 12px;
    }

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.left-buttons {
    display: flex;
    gap: 10px;
}

.right-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

/* Button Styles */
.form-navigation .btn {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
   
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-prev {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3276cf;
    background-color: #fff;
    border: 2px solid #3276cf; /* Explicit border color */
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    transition: none; /* Optional: disables hover transitions */
}

.btn-prev:hover {
    background-color: #fff;          /* No change */
    color: #3276cf;                  /* No change */
    border: 2px solid #3276cf;       /* Prevents border color change */
}

.btn-clear {
    background: none;
    border: none;
    color: #3276cf;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px;
}

.btn-next,
.btn-submit {
    background-color: #3276cf;
    color: white;
    border: 2px solid #3276cf; /* Set a specific border color */
    transition: none; /* Optional: disables any smooth transition */
}

.btn-next:hover,
.btn-submit:hover {
    background-color: #3276cf; /* Maintain same background */
    color: white;               /* Maintain same text color */
    border: 2px solid #3276cf;  /* Keep border color same */
}




.checkbox-group {
    margin: 15px 0;
}

    .checkbox-group input {
        width: auto;
        margin-right: 2px;
    }

    .checkbox-group label {
        display: inline;
        font-weight: normal;
    }

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 7px 0 14px;
    padding-bottom: 2px;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}
.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 18px 1rem;
    font-size: 11px;
}
.fas fa-chevron-left{
    margin-left:6px;
}
.fas fa-chevron-right {
    margin-left: 6px;
}
.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 169px; /* adjust as needed */
    display: inline-block;
    vertical-align: middle;
}
.input-with-symbol {
    position: relative;
    width: 100%;
}

.input-with-symbol .symbol {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 1rem;
    pointer-events: none;
}

.input-with-symbol input {
    padding-left: 25px; /* Add space for the pound symbol */
}

@media (max-width: 767px) {

 
    .file-badge {
        border: 1px solid #ccc; /* subtle grey border */
        border-radius: 4px; /* small rounding, or use 0 for perfect square corners */
        padding: 6px 12px; /* inner spacing */
        font-size: 13px; /* text size */
        display: inline-flex;
        align-items: center;
        flex-direction: row;
        gap: 8px; /* space between elements */
        background-color: #fff; /* optional background */
        box-sizing: border-box; /* ensures padding included in width */
    }

    .file-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px; /* adjust as needed */
        display: inline-block;
        vertical-align: middle;
    }

    .ie-form-card {
        box-sizing: border-box;
        /* Auto layout */
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 16px 8px 16px 0px;
        gap: 0px;
        width: 100%;
        height: 76px;
        background: #FAFAFA;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        /* Inside auto layout */
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    } 

    .fas fa-chevron-left {
        padding-left: 12px;
    }

    .iti__country-list {
        width: 220%;
    }

    .fas fa-chevron-right {
        margin-left: 12px;
    }

    .ie-form-action a {
        color: #1a73e8;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: flex-start;
        margin-left: -48px;
    }
    
        
        .ie-form-open {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 4px 4px;
        gap: 8px;
        width: 14px;
       
        height: 30px;
        border-radius: 6px;
        
    }

    .custom-dropdown {
        font-size: 14px;
        color: #666;
        border: 1px solid #ccc;
        border-radius: 6px;
        height: 42px;
        box-sizing: border-box;
        background-color: white;
        cursor: pointer;
    }



    input:focus, textarea:focus {
        border-color: #3276CF;
    }
    
   
        
        .ie-form-action a {
        color: #1a73e8;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: flex-start;
        padding-left: 12px;
    }
        
        
        .alert-dismissible .btn-close {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        padding: 8px 1rem;
        font-size: 11px;
    } 
        
        .ie-form-open {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 4px 12px;
        gap: 8px;
        width: 44px;
        min-width: 80px;
        height: 30px;
        border-radius: 6px;
        /* Inside auto layout */
        flex: none;
        order: 2;
        flex-grow: 0;
    } 

      .ie-form-card {
        box-sizing: border-box;
        /* Auto layout */
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 16px 8px 16px 16px;
        gap: 17px;
        width: 100%;
        height: 76px;
        background: #FAFAFA;
        border: 1px solid #E0E0E0;
        border-radius: 8px;
        /* Inside auto layout */
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 0;
    } 
      
     
    
}
.file-badge {
    border: 1px solid #ccc; /* subtle grey border */
    border-radius: 4px; /* small rounding, or use 0 for perfect square corners */
    padding: 6px 12px; /* inner spacing */
    font-size: 13px; /* text size */
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 8px; /* space between elements */
    background-color: #fff; /* optional background */
    box-sizing: border-box; /* ensures padding included in width */
}
@media (min-width: 1200px) {
        .container {
            max-width: 852px;
        }

        
    }

@keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

   

.form-lt {
        background: #FFFFFF;
        box-shadow: 0px 12px 24px -10px rgba(0, 0, 0, 0.1);
        border-radius: 16px;
        padding: 16px;
        margin-top: 40px;
    }


    

    #ie-form-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }



    #ie-partial-container {
        background: white;
        /* width: 95%; */
        max-width: 1200px;
        /* max-height: 94vh; */
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        position: relative;
    }


    ie-form-open.saved {
        color: #28a745; /* Green color for "SAVED" */
        font-weight: bold;
        
    }



