body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    margin: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.loginbody {
    display: flex;
    height: 100vh;
}

.logincontainer {
    display: flex;
    width: 100%;
}

/* Left Section */
.loginleft {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.logindetailsform {
    width: 60%;
    margin: auto;
    max-width: 100%;
}

h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    color: #555;
    margin-bottom: 40px;
}

label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

input , textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none !important;
}

.ssobutton {
    padding: 0.375rem 0.75rem;
    background: #0075ff;
    color: #ffffff;
    border: none;
    border-radius: 0.25rem;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    outline: none !important;
    font-weight: 500;
}
.ssobutton:disabled {
    background: #9ca3af;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}
.commonbutton {
    width: 100%;
    padding: 10px 14px;
    background: #0075ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    outline: none !important;
    font-weight: 500;
}
.commonbutton:disabled {
    background: #9ca3af;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}
.resendbutton {
    padding: 0.375rem 0.75rem;
    background: #0075ff;
    color: #ffffff;
    border: none;
    border-radius: 0.25rem;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    outline: none !important;
    font-weight: 500;
}
.resendbutton:disabled {
    background: #9ca3af;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.7;
}
.link {
    color: #2a6df4;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
    text-decoration: none !important;
    font-size: 14px;
}
.getaccesscontent {
    font-size: 14px;
}
.commonlogo {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
}
/* Right Section */
.loginright {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.textred{
    color: #b54708;
}

.headsection{
    padding: 20px 20px;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0px 4px 6px rgba(229, 231, 235, 0.5);
}
.postloginlogo{
    width: 80px;
    height: auto;
}


    

/* Top Navigation Tabs */
/* ===== Shared Tab Button Wrapper ===== */
.tab-buttons,
.tab-buttons-2 {
    display: flex;
}

/* ===== Shared Button Style ===== */
.tab-buttons button,
.tab-buttons-2 button {
    padding: 15px;
    border: none;
    background: transparent;
    color: #1e293b;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    outline: none !important;
    border-bottom: 3px solid transparent;
}

/* ===== First Tab Active ===== */
.tab-buttons button.active {
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    border-bottom: 3px solid #3b82f6;
}

/* ===== Second Tab Active ===== */
.tab-buttons-2 button.active {
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    border-bottom: 3px solid #3b82f6;
}

/* ===== Shared Content Style ===== */
.tab-content,
.tab-content-2 {
    display: none;
    padding: 30px;
    font-size: 15px;
    color: #334155;
}

/* ===== Show Active Content ===== */
.tab-content.active,
.tab-content-2.active {
    display: block;
}


.tab-content h3 {
    margin-top: 0;
}

.tab-content.active {
    display: block;
}
.profilemenu{
    background-color: grey;
    color: #ffffff!important;
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none!important;
    margin-left: 20px;
}
.loginmenudiv{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/* Profile dropdown: anchor menu to avatar (do not leave toggle-box as a stray .row flex item) */
.loginmenudiv.profile-dropdown-wrap {
    position: relative;
    z-index: 100;
}
/* Toggle Content */
.toggle-box {
    margin-top: 0;
    padding: 14px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    display: none;
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    margin-top: 10px;
    z-index: 99;
    width: 200px;
}
.headsection .loginmenudiv .toggle-box {
    right: 0;
    top: 100%;
    margin-top: 10px;
}

.profilemenuanchor{
    display: block;
    color: #374151!important;
    text-decoration: none!important;
    font-size: 14px;
    padding: 4px 0px;
}
.switcharrow{
    width: 14px;
    height: auto;
}
.switchmode{
    display: flex;
    justify-content: space-between;
}
.rotataarrow{
    transform: rotate(180deg);
}
.modeanchr{
     display: flex;
    justify-content: space-between;
}
.breadcrumbline{
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.search-container {
  position: relative;
}

.input-wrapper {
  position: relative;
}



/* Bank Icon */
.bank-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}

/* Dropdown Icon */
.dropdown-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
}

/* Dropdown List */
.dropdown {
  position: absolute!important;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 5px;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.dropdown div {
  padding: 10px;
  cursor: pointer;
}
.downarrow {
    width: 20px;
    height: auto;
    position: absolute;
    right: 6px;
    top: 12px;
}
.bankiconcss {
    position: absolute;
    top: 13px;
    left: 12px;
}

.wrapper{
  position:relative;
  margin-bottom:20px;
}

.calendar-box{
  position:absolute;
  top:-130px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  padding:10px;
  display:none;
  z-index:1000;
  gap:20px;
}

.month-container{
  margin:15px;
}

.month-header{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:5px;
  gap:5px;
}

.month-title{
  font-weight:bold;
}

.calendar{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:5px;
}

.day-name{
  font-size:12px;
  text-align:center;
  font-weight:bold;
}

.day{
  text-align:center;
  padding:6px;
  cursor:pointer;
  border-radius:6px;
}

.day:hover{
  background:#eee;
}

.disabled{
  color:#ccc;
  pointer-events:none;
}

.selected-start,
.selected-end{
  background:#007bff;
  color:#fff;
}

.in-range{
  background:#cfe2ff;
}
.upload-area {
    border: 2px dashed #d3d6db;
    border-radius: 12px;
    width: 100%;
    padding: 20px 20px;
    text-align: center;
    background: #fff;
    color: #b0b4be;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
    user-select: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: relative;
    min-height: 160px;
  }

  .upload-area.dragover {
    border-color: #4679f7;
    background-color: #f0f4ff;
    color: #4679f7;
  }

  /* Full-size invisible input on top so the native file dialog opens (display:none breaks programmatic .click() in many browsers). */
  .upload-area .upload-area-file {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
  }

  .upload-area-presentation {
    position: relative;
    z-index: 0;
    pointer-events: none;
  }

  .upload-icon {
    font-size: 20px;
    margin-bottom: 12px;
    user-select: none;
    pointer-events: none;
  }

  .upload-text {
    font-weight: 600;
    font-size: 16px;
  }

  .upload-subtext {
    font-size: 13px;
    color: #999;
    user-select: none;
  }

  .upload-hint {
    user-select: none;
    pointer-events: none;
  }

  .progress-text {
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    color: #4679f7;
    display: none;
  }

  .spinner {
    border: 4px solid #cbd5f8;
    border-top: 4px solid #4679f7;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto 0;
    display: none;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  /* Do not use display:none on file inputs that must open the picker via real user clicks. */
  input[type="file"]:not(.upload-area-file) {
    display: none;
  }

.uploadstatement{
    max-height: 400px;
    overflow-y: scroll;
}

/* Upload modal: validation / API errors sit below the primary action */
.upload-modal-error {
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

 .bankstatement-search-container {
    position: relative;
    display: inline-block;
    width: 80%;
}
.bankstatement-search-container input[type="text"] {
    padding: 8px 120px 8px 8px; /* space for button */

}
.bankstatement-option-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 140px;
    cursor: pointer;
    outline: none!important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
}
.bankstatement-options-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 44px;
    border: 2px solid #e5e7eb;
    padding: 5px 0;
    z-index: 10;
    width: 140px;
    border-radius: 6px;
    background-color: #ffffff;
}
.bankstatement-options-dropdown div {
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bankstatement-options-dropdown div:hover {
    background-color: #eee;
}
.bankstatement-check-icon {
    display: none;
    color: green;
    font-weight: bold;
}
.optionarrow {
    width: 14px;
    height: auto;
    transform: rotate(90deg);
}
.tenureselection{
    list-style: none;
    margin: 0;
    padding: 0px 10px;
    display: flex;
    background-color: #f3f4f6;
    border-radius: 6px;
}
.tenureselection li{
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.tenureselection .selected{
    background-color: #ffffff;
    border-radius: 6px;
}
.flexendcontent{
    display: flex;
    justify-content: flex-end;
}
.datepickerbackicon{
    background-color: #f3f4f6;
    border-radius: 6px;
    margin-right: 10px;
    cursor: pointer;
}
.session-id{
    margin-right: 6px;
}
.copy-icon{
    cursor: pointer;
}
.scrollheight{
    height: 150px;
}
.toggle-container {
    display: inline-flex;
    background: #e5e5e5;
    padding: 4px;
    border-radius: 12px;
  }

  .toggle-btn {
    padding: 4px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none!important;
  }

  .toggle-btn.active {
    background: white;
    color: #0d6efd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .toggle-btn:not(.active) {
    color: #555;
  }

 .password-wrapper {
    display: flex;
    align-items: center;
    background: #e6e6e6;
    border-radius: 8px;
    padding: 0px 5px;
    max-width: 400px;
    margin-bottom: 15px;
  }

  .password-wrapper input {
    border: none;
    background: transparent;
    font-size: 12px;
    outline: none;
    width: 100%;
  }

  .password-toggle-btn,
  .password-copy-btn {
    border: none;
    background: #555;
    color: white;
    padding: 0px 5px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 5px;
    font-size: 12px;
  }

  .password-toggle-btn:hover,
  .password-copy-btn:hover {
    opacity: 0.85;
  }


/* Namespace: bankstatement-details */
    .bankstatement-details {
      max-width: 600px;
    }
    .bankstatement-details input[type=radio]{
       width: 16px;
       margin-right: 10px;
    }
    .bankstatement-details .option {
      margin-bottom: 20px;
      display: flex;
      align-items: center;
    }
    .bankstatement-details .option label{
      font-size: 14px;
    }
    .bankstatement-details .months-group {
      margin-top: 10px;
      cursor: pointer;
    }

    .bankstatement-details button.month-btn {
      padding: 4px 14px;
      margin-right: 8px;
      background: #f2f2f2;
      cursor: pointer;
      border-radius: 6px;
      outline: none!important;
      border: none;
      font-size: 14px;
    }

    .bankstatement-details button.month-btn.active {
      background: #007bff;
      color: white;
      border-color: #007bff;
    }

    .bankstatement-details input[type="number"] {
      padding: 2px 6px;
      width: 70px;
      margin-left: 10px;
      text-align: center;
    }
/* Chrome, Edge, Safari */
.bankstatement-details input[type="number"]::-webkit-outer-spin-button,
.bankstatement-details input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.bankstatement-details input[type="number"] {
  -moz-appearance: textfield;
}

    /* Visual disabled only */
    .bankstatement-details .disabled {
      opacity: 0.5;
      pointer-events: auto;
    }

    .bankstatement-details .note {
      font-size: 12px;
      color: gray;
      margin-top: 5px;
    }
.resourcesanchor{
    display: inline-flex;
    background: rgba(195, 223, 255, 0.2);
    font-size: 12px;
    font-weight: 400;
    -webkit-box-align: center;
    align-items: center;
    padding: 6px 8px;
    color: rgb(0, 117, 255);
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none!important;
}

.bstatementtab button{
    font-size: 14px;
    padding: 10px;
}
.profileullist{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.profilelogo{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #edfaff;
    border: 5px solid #d6f1ff;
    font-weight: 600;
}
.profilename{
    font-size: 24px;
    font-weight: 600;
    color: rgb(62, 62, 62);
    line-height: 29.05px;
    margin: 0px;
}
.dropdownbank {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  cursor: pointer;
  outline: none;
  margin-top: 10px;
}
.font14{
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    margin-bottom: 0px;
    margin-top: 10px;
}
.individualspan {
    font-size: 12px;
    font-weight: 500;
    background-color: #d1d5db;
    padding: 2px 10px;
    border-radius: 4px;
}
.availablestatementcontent{
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #0075ff!important;
    text-decoration: none!important;
}

.month-container1 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    padding: 2px;
}

.month-box {
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    color: white;
    background: #2eb872;
    cursor: pointer;
    transition: 0.3s;
}

.month-box span {
    font-size: 10px;
}

.month-box .check {
    font-size: 8px;
}

.month-box.disabled {
    background: #d9d9d9;
    color: #888;
    cursor: default;
}

.statementcontent{
    font-size: 12px;
    line-height: 14px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 0px;
    color: rgb(62, 62, 62);
}
.balance-div {
    display: flex;
    gap: 10px; /* space between balance items */
    padding: 10px 0px;
  }

  .balance-item {
    flex: 1; /* equal width */
    background: #ffffff;
    color: black;
    padding: 20px;
    text-align: left;
    border-radius: 6px;
    display: flex;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
  }
.balancecontent{
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    color: rgb(107, 114, 128);
    margin-bottom: 4px;
}
.balancevalue{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 0px;
}
.overlaybg {
    background-color: #d1d5db;
    border-radius: 4px;
    padding: 8px 6px;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}



.chart-container {
    position: relative;
    width: 100%;
    height: 160px;
}
.bankprogress{
    height: 8px!important;
    background-color:rgb(255, 123, 105)!important;
}
.tbleoverflow{
    max-height: 210px;
    overflow-y: auto;
}
.table td, .table th{
        font-size: 13px;
}
.depositicon{
    width: 10px;
    color: green;
}
.withdrawnicon{
    width: 10px;
    color: red;
}

.piechart{
    width: 200px!important;
    height: 200px!important;
}
.piecontainer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    border:1px solid #d3d3d3;
    border-radius: 8px;
}
.pieheading{
    margin-bottom: 10px;
    width: 160px;
    display: flex;
    justify-content: space-between;
}
.pieheading span{
    color: #6c6c6c;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}
.totaltransactions{
    font-size: 12px;
    line-height: 18px;
    background-color: #f9fafb;
    padding: 2px 10px;
    border-radius: 4px;
}
.recurringheading{
    font-size: 18px;
    font-weight: 600;
    color: #3d3d3d;
    margin-bottom: 4px;
}
.recurringpara{
    font-size: 12px;
    font-weight: 400;
    color: ##8c8c8c;
    margin: 0px;
}
.recurringsbheading{
    font-size: 14px;
    font-weight: 600;
    color: #3d3d3d;
    margin-bottom: 4px;
}
.recurringsbpara{
    font-size: 12px;
    font-weight: 400;
    color: ##8c8c8c;
    margin: 0px;
}

.transctionanchorbtn{
    text-decoration: none!important;
    font-weight: 500;
}
.backiconimg{
    width: 20px;
    height: auto;
}
.bubble-chart{
  width:100%;
  max-width:1100px;
  margin:auto;
  border-radius:10px;
}

.bubblechart-container{
  position:relative;
  width:100%;
  height:50vh;
  min-height:320px;
  max-height:450px;
}

@media (max-width: 768px) {
    .bubblechart-container{
      position:relative;
      width:100%;
      height:50vh;
      min-height:220px;
      max-height:450px;
    }
    .piecontainer{
        display: block;
        padding: 20px;
    }
    .table td, .table th{
        font-size: 12px;
        vertical-align: middle!important;
    }
    .balance-div {
        display: grid;
        gap: 10px;
        padding: 10px 0px;
    }


    .bstatementtab .tab-buttons-2{
        display: inline-flex;
    }
    .bstatementtab{
        overflow: scroll;
    }
    .bstatementtab button{
        width: 100px;
        font-size: 12px;
    }
    .bankstatement-details .months-group {
        font-size: 12px;
    }
    .bankstatement-details input[type="number"]{
        margin-left: 0px;
        margin-top: 10px;
        font-size: 12px;
    }
    .bankstatement-details button.month-btn {
        padding: 4px 10px;
        margin-right: 4px;
        font-size: 12px;
    }
    .bankstatement-details .option label{
        font-size: 12px;
        display: flex;
        align-items: center;
    }
    .bankstatement-details input[type=radio]{
        margin-right: 6px;
    }
    .flexendcontent{
        display: block;
    }
    .uploadstatement{
        max-height: 500px;
    }
    
    .bankstatement-search-container{
        width: 100%;
    }
    
    .calendar-box{
        top: -230px;
        width: 100%;
    }
    .headsection .loginmenudiv .toggle-box {
        right: 0;
        left: auto;
    }
    .logindetailsform {
        width: 100%;
    }
    .loginbody {
        flex-direction: column;
    }

    .loginright {
        display: none; /* Hide right section for mobile */
    }

    .loginleft {
        padding: 40px 20px;
    }
    .postloginlogo{
        width: 60px;
    }
    .tab-buttons button{
        font-size: 14px;
    }

    .tab-buttons button {
        text-align: left;
        border-bottom: 3px solid rgba(255,255,255,0.1);
    }
    .tab-content{
        padding: 10px;
    }
}

/* Login — loading overlay (logo + spinner) */
.login-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login-loading-overlay.is-visible {
    display: flex;
}

.login-loading-overlay .login-loading-brand {
    max-width: 160px;
    height: auto;
    margin-bottom: 1rem;
}

.login-loading-overlay .spinner {
    display: block;
    margin: 0 auto;
}

.login-loading-overlay .login-loading-text {
    margin-top: 0.75rem;
    font-size: 15px;
    font-weight: 600;
    color: #4679f7;
}

/* ══════════════════════════════════════════════════════
   Bank dropdown – grouped list
══════════════════════════════════════════════════════ */
.bank-dd-group {
    padding: 5px 12px 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8fa3c2;
    background: #f4f7fd;
    border-top: 1px solid #e8eef8;
    pointer-events: none;
    user-select: none;
}
.bank-dd-group:first-child { border-top: none; }
.bank-dd-item {
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    color: #1a2a4a;
    transition: background .12s;
}
.bank-dd-item:hover { background: #eef3ff; color: #4679f7; }
.bank-dd-empty {
    padding: 10px 14px;
    font-size: 13px;
    color: #8fa3c2;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════
   Multi-file upload modal
══════════════════════════════════════════════════════ */

/* Wider modal for multi-file layout */
.modal-xl { max-width: 860px; }

/* Drop-zone — multi-file variant */
.multi-upload-area {
    border: 2px dashed #c5d1e8;
    border-radius: 10px;
    background: #f8faff;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
}
.multi-upload-area:hover,
.multi-upload-area.dragover {
    border-color: #4679f7;
    background: #eef3ff;
}
.multi-upload-area .upload-area-file {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: none; /* triggered via JS click */
}
.multi-upload-area .upload-icon { margin-bottom: 8px; }
.multi-upload-area .upload-text  { font-size: 15px; font-weight: 600; color: #1a2a4a; }
.multi-upload-area .upload-hint  { font-size: 13px; color: #5e7399; margin-top: 2px; }
.multi-upload-area .upload-subtext { font-size: 12px; color: #8fa3c2; margin-top: 4px; }

/* File list container */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}
.file-list::-webkit-scrollbar { width: 5px; }
.file-list::-webkit-scrollbar-thumb { background: #d0daea; border-radius: 3px; }

/* Individual file card */
.file-card {
    background: #fff;
    border: 1px solid #e2e8f4;
    border-radius: 8px;
    padding: 10px 14px;
    transition: box-shadow .15s;
}
.file-card:hover { box-shadow: 0 2px 8px rgba(70,121,247,.10); }

.file-card-main {
    display: flex;
    align-items: center;
    gap: 10px;
}
.file-card-icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.file-card-info { flex: 1; min-width: 0; }
.file-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a2a4a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.file-card-meta {
    display: flex;
    gap: 10px;
    margin-top: 2px;
}
.file-card-size { font-size: 12px; color: #5e7399; }
.file-card-num  { font-size: 12px; color: #aab6cc; }

.file-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Password toggle button */
.btn-pw-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #c5d1e8;
    border-radius: 5px;
    background: #f4f7fd;
    color: #4679f7;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.btn-pw-toggle:hover { background: #eef3ff; border-color: #4679f7; }
.pw-set-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin-left: 2px;
}

/* Remove button */
.btn-remove-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border: 1px solid #fcd9d9;
    border-radius: 6px;
    background: #fff5f5;
    color: #e05252;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s;
}
.btn-remove-file:hover { background: #fee2e2; border-color: #e05252; }

/* Per-file password row */
.file-card-pw {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f3fa;
}

/* Upload progress */
#uploadProgressWrap .progress-bar {
    background: linear-gradient(90deg, #4679f7, #6fa0ff);
    transition: width .4s ease;
}

/* font-weight-600 utility */
.font-weight-600 { font-weight: 600; }

/* Disabled submit button */
#btnSubmitUpload:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
