/* Welcome Card Text */
.welcome-tour-text {
    color: #343C6A;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.back-to-dashboard-link {
    color: #00395A;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
    display: block;          
    text-align: right;       
    margin-top: 8px;
}

.essie-welcome-flex {
    display: flex;
    width: 1052px;
    padding: 21px 14px;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    border-radius: 25px;
    border: 1px solid #DFEAF2;
    background: #FFF;
    position: relative;
}
.essie-chatbot-icon img {
    width: 60px;
}

.chatbot-icon img {
    width: 90px;
    height: 90px;     
    max-width: none;   
    min-width: 90px;  
    min-height: 90px;
    display: block;
    object-fit: contain;          
}

.essie-welcome-text {
    flex: 1;
    display: flex;
    align-items: center;
}
.essie-dashboard-link-wrap {
    display: flex;
    align-items: flex-end;
    height: 100%;
}


.upload-bill-desc {
    font-size: 16px;
    color: #343C6A;
}

.essie-welcome-card {
    display: flex;
    width: 1052px;
    padding: 21px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 25px;
    border: 1px solid #DFEAF2;
    background: #FFF;
}

.essie-welcome-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
}

.essie-welcome-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.essie-welcome-text {
    color: #343C6A;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    flex: 1 1 auto;
    margin-top: 4px;
}

.essie-dashboard-btn {
    display: flex;
    width: 164px;
    height: 30px;
    padding: 5px 43px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 9px;
    border: 1px solid #DFEAF2;
    background: #F7FAFF;
    margin-left: auto;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    align-self: stretch;
}

.essie-dashboard-btn a {
    color: #00395A;
    font-size: 14px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    text-align: center;
    width: 164px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-bill-card {
    background: #FFF;
    border-radius: 12px;
    padding: 18px;              
    border: 1px solid #DEDEDE;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
    margin: 0 auto 20px;        
    width: 100%;
    box-sizing: border-box;
}
.upload-bill-next {
    background: #F5FBFE;
    border-radius: 12px;
    padding: 24px;              
    border: 1px solid #DEDEDE;
    margin: 0 auto 20px;        
    width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
}

.upload-bill-title{
    color:#343C6A;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 6px;
}
.upload-heading {
    color:#343C6A;
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.uploadflow-heading{
    color: #232323;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom:15px;
}


.upload-box {
    width: 100%;
    height: 222px;
    flex-shrink: 0;
    border: 1px solid #CDCDCD;
    border-radius: 8px;
    margin: 0 auto 24px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F5FBFE;  
}

.upload-box svg {
    width: 137px;
    height: 137px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    /* margin-bottom: 5px; */
}

.upload-instruction {
    color: #5E6877;
    font-size: 16px;
    line-height:26px;
    font-weight: 500;
    text-align: center;
}
.upload-instruction span {
    color: #00395A;
    font-size: 16px;
    line-height:26px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}
.save-continue-btn {
    display: flex;           
    justify-content: flex-end;
    margin-top: 29px;
    border-radius: 13px;
}

.save-continue-text {
    width: 143px;
    height: 18px;
    flex-shrink: 0;
    background-color: #00395A;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    padding: 12px 0;             
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.upload-container {
    margin-top: 16px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.upload-progress-bar-outer {
    width: 100%;
    height: 23px;
    border: 1px solid #CDCDCD;
    background: #F5FBFE;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 2px;
}

.upload-progress-bar-inner {
    height: 100%;
    background: #CDCDCD;
    border-radius: 6px;
    transition: width 0.3s;
    border-radius: 0 8px 8px 0;
}

.upload-file-row {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    margin-left: 8px;
    overflow: hidden;
    min-width: 0;
}

.upload-file-row svg {
    flex-shrink: 0;
}

.upload-file-name {
    color: #343C6A;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.delete-btn-wrapper {
    display: flex;
    justify-content: flex-end;  /* right side */
    margin-top: 12px;
    margin-right: 12px;
}

.delete-btn {
    width: 131px;
    height: 28px;
    flex-shrink: 0;
    border: none;
    border-radius: 4px;
    background: #78A22D;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}
.delete-btn:hover {
    background: #6b9228;
}


.welcome-card {
    background: #FFF;
    border-radius: 25px;
    border: 1px solid #DFEAF2;
    background: #FFF;
    padding: 21px 14px;
    margin-bottom: 24px;
}

.welcome-tour-text {
    color: #343C6A;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.welcome-cancel-link {
    padding-top: 10px;
    color: #005382;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
}

.manual-add-service-card {
    background: #FFF;
    border-radius: 12px;
    padding: 42px;
    box-shadow: 0 2px 8px rgba(52, 60, 106, 0.08);
    margin: 0 auto;
    width: 100%;
    min-width: 350px;
    box-sizing: border-box;
}

.manual-add-title {
    color: #343C6A;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    /* min-width: 350px; */
    width: fit-content;
    white-space: nowrap;
    text-align: left;
}

.manual-add-methods {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.method-card {
    position: relative;
    background: #F5FBFE;
    border: 1px solid #CDCDCD;
    border-radius: 12px;
    width: 300px;
    min-height: 254px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.method-card:active,
.method-card:focus {
    box-shadow: 0 4px 16px rgba(52, 60, 106, 0.12);
    background: #fff;
    border:1px solid #005382;
}

.upload-bill-icon-center,
.create-manual-icon-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.upload-bill-icon-center svg,
.create-manual-icon-center svg {
    width: 25px !important;
    height: 25px !important;
}

.upload-bill-text-center,
.create-manual-text-center {
    color: #343C6A;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    position: relative;
}

.create-manual-underline {
    background: #78A22D;
}

.manual-add-desc {
    color: var(--Medium-Blue-Gray, #343C6A);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 0; 
    padding-right: 12px;
    flex: 1;
    display: flex;
    align-items: center;
}
.take-photo-wrapper {
    text-align: center;
  }
  
  .or-text {
    color: #9e9e9e;
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .take-photo-btn {
    background-color: #7da927;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .take-photo-btn svg,
  .take-photo-btn .camera-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  

@media (max-width: 768px) {

    .manual-add-methods {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .method-card {
        width: 100%;
        min-width: 0;
        padding: 20px 18px;
    }
    .upload-progress-bar-outer {
        width: 100%;
        height: 23px;
        border: 1px solid #CDCDCD;
        background: #F5FBFE;
        border-radius: 6px;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
    .upload-container {
        width: 100%;
    }
    .welcome-card{
        border-radius:8px;
    }
    .manual-add-service-card{
        min-width: 0;
        width: 100%;
        padding:15px;
    }
    .manual-add-title{
        font-size:18px;
        font-weight: 600;
    }
}

.upload-bill-underline,
.create-manual-underline {
    width: 60px;
    height: 3px;
    background: #005382;
    border-radius: 2px;
    margin: 6px auto 0 auto;
}


.icon-text-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.upload-bill-icon-center,
.create-manual-icon-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-bill-text-center,
.create-manual-text-center {
    color: #343C6A;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    position: relative;
    display: inline-block;
}

.upload-bill-underline,
.create-manual-underline {
    width: 60px;
    height: 2px;
    border-radius: 2px;
    margin: 6px auto 0 auto;
}

/* .create-manual-text-center .text-underline {
    background: #78A22D;
    height: 1px;
    border-radius: 1px;
} */

.upload-bill-underline {
    background: #005382;
}

.create-manual-underline {
    background: #78A22D;
}

.text-underline {
    display: block;
    height: 1px;
    background: #005382;
    border-radius: 1px;
    width: 100%;
    position: absolute;
    left: 0;
}

.manual-add-desc-wrap {
    position: static;
    width: 100%;
    padding-right: 0;
}

.manual-add-desc {
    padding-right: 0;
    line-height: 1.4;
}

.manual-add-info-icon {
    position: absolute;
    right: 12px;      
    bottom: 12px;      
    width: 26px;
    height: 26px;
    background: var(--Service-Purple, #7E41C9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.upload-box label {
    display: flex;
    flex-direction: column;
    align-items: center;      
    justify-content: center; 
    text-align: center;
    width: 100%;
    height: 100%;
    border-radius:8px;
}
.no-gutter {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .take-photo-btn:hover,
  .take-photo-btn:focus,
  .take-photo-btn:active,
  .take-photo-btn:focus-visible {
    background-color: #7da927 !important;
    color: #fff !important;
    outline: none;
    box-shadow: none;
  }
  
  .take-photo-btn:active svg,
  .take-photo-btn:focus svg {
    fill: #fff;
  }
  .bill-date-display {
    color: #59719A;
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0;
    padding: 4px 0;
}

.selected-bill-info {
    margin-bottom: 16px;
}

.selected-bill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.custom-mt{
    margin-top: 50px;
}
@media (max-width: 768px) {
    .upload-box svg {
        width: 80px;
        height: 80px;
    }
    .upload-box .camera-icon {
        width: 20px;
        height: 20px;
        margin-top: 0;
        vertical-align: middle;
    }

     .uploadflow-heading{
        color:  #343C6A;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }
}
