body {
  padding: 0px;
  margin: 0px;
  font-family: "Adelle Sans";
  background: #f5f7fa !important;
  font-size: 14px;
  color: #595857;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: "Adelle Sans Lt";
  src:
    url("AdelleSans-Light.woff2") format("woff2"),
    url("AdelleSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans";
  src:
    url("../fonts/AdelleSans-Italic.woff2") format("woff2"),
    url("../fonts/AdelleSans-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans";
  src:
    url("../fonts/AdelleSans-Bold.woff2") format("woff2"),
    url("../fonts/AdelleSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans Th";
  src:
    url("../fonts/AdelleSans-Thin.woff2") format("woff2"),
    url("../fonts/AdelleSans-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adelle Sans";
  src:
    url("../fonts/AdelleSans-Regular.woff2") format("woff2"),
    url("../fonts/AdelleSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.dashboard-layout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.sidebar-dashbord {
  position: absolute;
  left: 1.5rem;
  top: 120px;
  background: #1c2c4c;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10rem;
  z-index: 999;
}

.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f7fa;
  padding: 0 20px;
  border-bottom: 1px solid #f5f7fa;
  position: sticky;
  top: 0;
  z-index: 1000;
  position: relative;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.env-text {
  color: red;
  font-weight: 600;
  font-size: 14px;
}

.dashboard-footer {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 10px 0;
}

.header-left .header-logo {
  height: 84px;
  width: 224px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  position: relative;
  right: 7rem;
}

.search-box input {
  padding: 8px 30px 8px 30px;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-box input:focus {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.search-box .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.profile-section {
  position: relative;
  right: 7rem;
  border: 1px solid;
  border-radius: 50%;
  width: 65px;
  height: 65px;
}

.profile-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}


.profile-dropdown li {
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-dropdown li:hover {
  background: #f1f5f9;
}

/* =================   Login css ========================*/


.circle {
  position: relative;
  width: 50px;
  height: 251px;
  background: #18274A;
  border-radius: 30px 26px;
  top: 5rem;
  right: 1.5rem;
}

.sidebar {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* .logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
} */

/* .logo {
  width: 225.94px;
  margin-bottom: 10px;
  z-index: 1;
} */

.divider {
  width: 3px;
  height: 100%;
  background: #cacccd;
  border-radius: 10px;
  position: absolute;
  left: calc(50px + 1rem);
  top: 0;
}

.divider-dashboard {
  position: fixed;
  top: -5px;
  bottom: 0;
  left: 50px;
  width: 1px;
  background-color: #D3D3D3;
  z-index: 999;
  pointer-events: none;
}

.dashboard-content {
  margin-left: 80px;
  padding: 20px 30px;
}

.card-login {
  background: #fff;
  width: 340px;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.right-container {
  height: 100vh;
}

.login-illustration {
  max-width: 760px;
}

.left-wrapper {
  position: relative;
  height: 100vh;
  /* KEY FIX */
  display: flex;
  flex-direction: column;
}

.logo-wrapper {
  padding-left: 10px;
  padding-top: 0px;
  z-index: 5;
}

.main-logo {
  width: 240px;
}

.left-content {
  flex: 1;
  /* pushes card to middle */
  display: flex;
  align-items: center;
  padding-left: 50px;
  padding-bottom: 90px;
  z-index: 5;
}

.line-wrapper {
  position: absolute;
  left: 40px;
  /* adjust this as needed */
  top: 0;
  height: 100%;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  /* not clickable */
  z-index: 1;
  /* behind login card */
}

.vertical-line {
  position: absolute;
  left: 55px;
  top: 50px;
  height: 90%;
  width: 2px;
  background: #c9c9c9;
}

.blue-pill {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 250px;
  background: #18274a;
  border-radius: 35px;
  z-index: 3;
}

.getsigned-text {
  color: black;
  font-size: 23px;

}

.sso-login-btn {
  background: #a2c952 !important;
  border: 0px !important;
  border-radius: 2rem !important;
  width: 12rem !important;
  margin: 0px 2rem;

}

.rightsidebar {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-logo {
  background: #edf2fa;
  height: 100vh;
  /* KEY FIX */
  overflow: hidden;
  /* KEY FIX */
}

.left-container {
  position: relative;
  width: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
}



.dashboard-login-log {
  display: flex;
  height: auto;
}

.logo-right {
  width: 680px;
  max-width: 680px;
  height: auto;
}

.all-reserved {
  position: relative;
  top: 7rem;
  right: 15rem;
}

.all-reserved-dashboard {
  position: relative;
  top: 11rem;
  right: 9rem;
}

.icon-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tooltip-wrapper {
  position: relative;
}

.sidebar-tooltip {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: #1c2c4c;
  color: #fff;
  padding: 3px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  pointer-events: none;
}

.icon-wrapper:hover .sidebar-tooltip,
.logout-wrapper:hover .sidebar-tooltip {
  opacity: 1;
  visibility: visible;
}

.icon-wrapper {
  font-size: 20px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid;
  position: relative;
  left: 0;
  top: 1rem;
  margin: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* .icon-wrapper:hover i,
.logout-wrapper:hover i {
  background: rgba(255, 255, 255, 0.2);
} */

.logout-icon {
  transition: transform 0.3s ease;
}

.logout-wrapper:hover .logout-icon {
  transform: rotate(180deg);
}

.icon-wrapper.active i,
.logout-wrapper.active i {
  color: #f2f2f3;
  font-weight: bold;
}

.logout-wrapper {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 75px 8px;
  border: 1px solid;
  position: relative;
  top: 4rem;
}

/* .logout-wrapper:hover {
  background: rgba(255, 255, 255, 0.2);
} */

.logout-wrapper.active {
  background: #fff;
  color: #0b214a;
}

.card-section-dashboard {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-wrapper {
  max-width: 1440px;
  /* Match Figma width */
  margin: 0 auto;
  /* Center the entire dashboard */
  width: 100%;
}

.card-section-dashboard .col-sm-6 {
  flex: 1;
  max-width: 50%;
}

.card-body {
  background: #d9e2f8 !important;
  display: flex;
  border-radius: 20px !important;
}

.welcome-card {
  background: #d9e2f8;
  /* ← YOUR FIGMA BACKGROUND */
  padding: 20px 24px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 150px;
  flex-wrap: wrap;
  /* important for 1024px */
}

.welcome-text {
  flex: 1;
  min-width: 260px;
}

/* TITLE */
.welcome-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #213b73;
}

/* SUB TEXT */
.welcome-sub {
  font-size: 14px;
  line-height: 20px;
  color: #313131;
  max-width: 350px;
}

/* ILLUSTRATION */
.welcome-img {
  width: 120px;
  height: auto;
}

.card {
  border-radius: 20px !important;
}

.rightside-first {
  width: 180px;
  height: 93px;
  border: 1px solid #f4d9af;
  background-color: #f4d9af;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-text-title {
  display: flex;
  justify-content: space-between !important;
  /* number left, icon right */
  align-items: center;
  width: 100%;
  padding: 0 10px;
  position: static !important;
}

.card-subheading {
  width: 374px;
  font-size: 15px;
}

.card-title-inprgress {
  margin-left: auto;
  /* pushes number to right properly */
  position: static !important;
}

.rightside-second {
  width: 180px;
  height: 93px;
  border: 1px solid #f0cdd3;
  border-radius: 12px;
  background-color: #f0cdd3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rightside-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* wrapper */
.status-box {
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
}

/* Real Figma colors */
.status-box.draft {
  background-color: #bae4e7;
  /* Draft light teal */
}

.status-box.inprogress {
  background-color: #f4d9af;
  /* In Progress peach */
}

.status-box.completed {
  background-color: #d8e4c8;
  /* Completed light green */
}


/* top row: number left + icon right */
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* number (value) */
.status-value {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

/* draft / in-progress / completed icons */
.status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
}

/* specific colors or icons */
.draft-icon {
  background-image: url('/assets/img/Draft.png');
  background-color: #31B7BC;
}

.inprogress-icon {
  background-image: url('/assets/img/inprogress.png');
  background-color: #F39200;
}

.completed-icon {
  background-image: url('/assets/img/Completed.png');
  background-color: #94B654;
}

/* label text */
.status-label {
  margin-top: 4px;
  font-size: 14px;
  color: #333;
}

.inprogress-icon {
  border-radius: 50%;
  width: 54px;
  height: 54px;
  background: #E56B78 url("/assets/img/inprogress.png") no-repeat center;
  color: white;
}

.waiting-icon {
  border-radius: 50%;
  width: 54px;
  height: 54px;
  background: #E56B78 url("/assets/img/waiting.png") no-repeat center;
  color: white;
}

.completed-icon {
  border-radius: 50%;
  width: 54px;
  height: 54px;
  background: #E56B78 url("/assets/img/Completed.png") no-repeat center;
  color: white;

}

.draft-icon {
  border-radius: 50%;
  width: 54px;
  height: 54px;
  background: #E56B78 url("/assets/img/Draft.png") no-repeat center;
  color: white;
}

.rightside-third {
  width: 180px;
  height: 93px;
  border: 1px solid #d8e4c8;
  border-radius: 12px;
  background-color: #d8e4c8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spinner-inprogres {
  position: relative;
  font-size: 30px;
  top: 0rem;
  width: 54px;
  height: 54px;
}

.rightside-four {
  width: 180px;
  height: 93px;
  border: 1px solid #bae4e7;
  border-radius: 12px;
  background-color: #bae4e7;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signature-box {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  margin-top: 4px;
}

.signature-action {
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 10px;
  border-radius: 12px;
  background: #f7f9ff;
  border: 1px dashed #c3d4ff;
  transition: 0.2s;
  height: 230px;
  position: relative;
  top: 5px;
}

.signature-action:hover {
  background: #eef4ff;
  border-color: #5582ff;
}

.tap-icon {
  width: 45px;
  height: 45px;
  position: relative;
  top: 5rem;
}


.signature-action span {
  font-size: 16px;
  font-weight: 600;
  color: #213b73;
  position: relative;
  top: 5rem;
}

.outer-box {
  height: 250px;
  background: white;
  padding: 5px 12px;
}

.signature-box:hover {
  background: #f1f5f9;
}

.signature-text {
  font-size: 18px;
  font-weight: 500;
  color: #475569;
  position: relative;
  left: 6rem;
}

.recent-documents {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  max-height: 300px;
  overflow-y: auto;
}

.recent-documents::-webkit-scrollbar {
  width: 6px;
}

.recent-documents::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.recent-documents::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.recent-documents-text {
  font-size: 14px;
  display: flex;
  justify-content: right;
  position: relative;
  bottom: 0.5rem;
  color: black;
}

.view-link {
  font-size: 14px;
  text-decoration: underline;
  display: flex;
  justify-content: right;
  position: relative;
  bottom: 0.5rem;
  color: black;
}

.view-link:hover {
  text-decoration: underline;
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.document-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.doc-info {
  flex: 1;
}

.doc-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.doc-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
}

.status.waiting-for-signature {
  background: #fef3c7;
  color: #92400e;
}

.status.in-review {
  background: #dbeafe;
  color: #1e40af;
}

.status.completed {
  background: #dcfce7;
  color: #166534;
}

.status.draft {
  background: #f3f4f6;
  color: #374151;
}

.status.in-progress {
  background: #ede9fe;
  color: #5b21b6;
}

.progress-circle {
  margin-left: 16px;
}

.circular-chart {
  width: 50px;
  height: 50px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s;
}

.percentage {
  fill: #111827;
  font-size: 10px;
  text-anchor: middle;
  transform: rotate(90deg);
}


.status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  padding: 16px;
  height: 100px;
}

.status-info h5 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #111;
}

.status-info p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.status-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon img {
  width: 24px;
  height: 24px;
}

/* ProfilePage */

.profile-container {
  padding: 20px;
}

.profile-header {
  margin-bottom: 20px;
}

.profile-name-avatar {
  padding: 8px 14px;
  color: #0e0d0d;
  font-weight: 600;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



.username-menu {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  right: 3rem;
}

.username-display {
  padding: 8px 12px;
  border-radius: 6px;
  background: #f2f7ff;
  color: #0d0d0e;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0px 2px 14px rgba(0, 0, 0, 0.15);
  z-index: 999;
  width: 120px;
}

.profile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-dropdown li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.profile-dropdown li:hover {
  background: #f4f6ff;
}

.profile-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 20px;
}

.profile-left {
  min-width: 220px;
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  height: 8rem;
  position: relative;
  top: 4rem;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  position: relative;
  bottom: 4rem;
}

.profile-id {
  font-weight: bold;
  color: #444;
  position: relative;
  bottom: 4rem;
}

.profile-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background-color: #fff;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.profile-field {
  display: flex;
  flex-direction: column;
}

.profile-field.full-width {
  grid-column: span 2;
}

.profile-field label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.profile-field input,
.profile-field textarea {
  padding: 10px;
  font-size: 14px;
  background: #fdfdfd;
  border-bottom: 1px solid;
  border-top: 0px solid;
  border-left: 0px solid;
  border-right: 0px saddlebrown;
}

.profile-field textarea {
  min-height: 80px;
  resize: none;
}

.profile-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 10px;
}

/*Manage Css */
.manage-container {
  padding: 20px;
  background: #f5f7fb;
}

.tab-header {
  margin-bottom: 20px;
  display: flex;
  background: #f9fafb;
}

.tab {
  background: #18274a;
  border: 1px solid #18274a;
  padding: 8px 16px;
  margin-right: 8px;
  border-radius: 6px;
  cursor: pointer;
  color: #ffffff;
  padding: 10px 15px;
}

.tab.active {
  background: #ffffff;
  color: black;
  border-color: #ffffff;
  font-weight: bold;
}

.manage-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.manage-table th {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #d9d9d9;
}

.manage-table td {
  padding: 12px;
  text-align: left;
}


input[type="checkbox"] {
  accent-color: #18274a;
  /* dark navy */
}

.btn-open {
  background: #495a6b;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}


.pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  gap: 6px;
}

.pagination button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.5);
}

.pagination button.active {
  background: #18274a;
  color: #fff;
  border-color: #18274a;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Drag and drop */

.sendpage {
  padding: 0px;
}

.form-group {
  padding: 10px 0px;
}

.sendpage-content {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.upload-box {
  border: 2px dashed #31b7bc;
  border-radius: 10px;
  /* padding: 40px; */
  text-align: center;
  background: #f7faff;
  margin-bottom: 15px;
}

.upload-icon {
  font-size: 28px;
  color: #e56b78;
  margin-bottom: 10px;
}

.drag-text {
  color: #000;
  font-weight: 600;
}

.browse-link {
  color: #31b7bc;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.supported-text {
  display: block;
  margin-top: 6px;
  color: #666;
  font-size: 13px;
}

.file-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #eee;
  /* padding: 12px 16px; */
  border-radius: 8px;
  margin-top: 10px;
}


.file-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-icon {
  font-size: 20px;
  color: #2a5dca;
}

.file-name {
  font-weight: 600;
  color: #18274a;
}

.file-delete {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #e74c3c;
  font-size: 16px;
}

.file-delete:hover {
  color: #c0392b;
}

.upload-section {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  /* height: 20rem; */
  overflow-y: auto;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #18274a;
}

.uploaded-file {
  padding: 20px;
  background: #eef2f9;
  border-radius: 8px;
  font-weight: bold;
  color: #18274a;
}

.agreement-section {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recipient-section {
  position: relative;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  max-height: 350px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  overflow: visible;
  /* 🔥 allows dropdown to overflow above footer */
}

.recipient-list {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  z-index: 1;
  /* ensures proper stacking context */
}

.recipient-footer {
  border-top: 1px solid #eee;
  padding: 10px;
  background: #fafafa;
  text-align: center;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.recipient-row {
  display: flex;
  align-items: center;
  background: #e5e2e2;
  padding: 20px 15px 15px 0px;
  border-radius: 8px;
  margin-top: 10px;
  align-items: flex-start;
  gap: 10px;
  height: 100px;
}

.recipient-row select.form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  background: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjNjY2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgMTIgOCI+PHBvbHlnb24gcG9pbnRzPSIwLDAgMTIsMCA2LDgiPjwvcG9seWdvbj48L3N2Zz4=") no-repeat right 10px center;
  background-color: #fff;
  padding-right: 30px !important;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.recipient-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b3aaaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #18274a;
  font-size: 14px;
  position: relative;
  right: 8px;
}

.recipient-fields {
  display: flex;
  flex: 1;
  gap: 10px;
}

.select-wrapper {
  position: relative;
  flex: 1;
}

.select-wrapper select {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
}

.select-wrapper .select-arrow {
  position: absolute;
  right: 12px;
  top: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #18274a;
}

.recipient-fields input {
  flex: 2;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.delete-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #e74c3c;
  font-size: 16px;
  position: relative;
  top: 2rem;
}

.delete-btn:hover {
  color: #c0392b;
}

.btn-add {
  padding: 8px 12px;
  border: 1px dashed #18274a;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: #18274a;
  font-weight: 600;
}

/* Bottom Buttons */
.send-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  position: sticky;
  bottom: 0;
  padding: 15px 20px;
  z-index: 100;
  background: #f0f8ff;
}

.btn-save {
  background: #94B654;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-save:disabled {
  background-color: #b5b5b5 !important;
  /* grey */
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

.btn-send {
  background: #18274A;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-cancel {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #18274a;
}

/* Modal */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  width: 400px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin-bottom: 10px;
  counter-reset: #18274a;
}

.modal-content p {
  margin-bottom: 20px;
  color: #444;
}

.btn-ok {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: #18274a;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.btn-ok:hover {
  background: #0f1b33;
}

.completion-summary {
  color: #777;
  font-size: 12px;
  margin-top: 2px;
}

.error {
  color: red;
  margin-left: 5px;
  font-weight: bold;
}

.error-text {
  color: red;
  font-size: 13px;
  margin-top: 4px;
}

.actions {
  display: flex;
  gap: 10px;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #444;
  transition: color 0.2s ease;
}

.icon-btn:hover {
  color: #1b1b1b;
}

.edit-icon {
  background: #595857 !important;
  color: #ffffff;
  border-radius: 6px;
  margin-left: 5px;
}

.date-icon {
  background: #000 !important;
  color: #ffffff;
  border-radius: 6px;
  margin-left: 5px;
}

.download-icon {
  background: #595857 !important;
  color: #ffffff;
  border-radius: 6px;
  margin-left: 5px;
  padding: 3px 6px;
}


.manage-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-top: 20px;
}


.row-white {
  background-color: #ffffff;
}

.row-gray {
  background-color: #f5f5f5;
}

.completed-status {
  font-size: 12px;
  color: #666;
}

.suggestion-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 200px;
  overflow-y: auto;
  z-index: 99999;
  font-size: 14px;
}

/* Each item styling */
.suggestion-item {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  border-bottom: 1px solid #f3f3f3;
}

.suggestion-item:hover {
  background: #f7faff;
}

.no-results {
  padding: 10px 12px;
  color: #999;
  font-style: italic;
  text-align: center;
  background: #fafafa;
}

.delete-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.error-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffdddd;
  border: 1px solid #ff4d4d;
  color: #a70000;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-size: 14px;
  animation: fadeInOut 3s ease;
}

.error-popup i {
  color: #a70000;
  font-size: 18px;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-chip {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  text-transform: capitalize;
}

.progress-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 4px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

.percent-value {
  font-size: 12px;
  font-weight: bold;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}

.confirm-box {
  background: white;
  padding: 25px;
  width: 380px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

.confirm-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 20px;
}

.btn-yes {
  background: #d9534f;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
}

.btn-no {
  background: #6c757d;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
}

@media (min-width: 1800px) {
  .login-logo {
    justify-content: flex-start;
    padding-left: 10rem;
    padding-right: 10rem;
  }

  .login-illustration {
    width: 850px;
    /* scales up */
  }

  .card-login {
    width: 380px;
  }

  .main-logo {
    width: 280px;
  }

  .blue-pill {
    height: 320px;
  }
}


@media (max-width: 1024px) {
  .left-wrapper {
    width: 45%;
    padding-left: 3.5rem;
    /* min-width: 420px; */
  }

  .blue-pill {
    height: 200px;
  }

  .card-login {
    width: 330px;
  }

  .login-illustration {
    max-width: 485px;
  }

  .welcome-card {
    flex-direction: row;
    /* wrap properly */
  }

  .welcome-img {
    width: 100px;
    margin-top: 10px;
  }
}

@media (min-width: 720px) and (max-width: 1024px) {
  .login-logo {
    display: flex;
    /* row layout */
    flex-direction: row;
    /* keep left + right side-by-side */
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* full viewport */
    overflow: hidden;
    /* avoid page-level scroll */
    padding: 0 1.5rem;
  }

  .left-wrapper {
    width: 45%;
    min-width: 320px;
    padding-left: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* logo stays top */
  }

  .logo-wrapper,
  .main-logo {
    padding-top: 0px;
    margin-left: 0;
    width: auto;
    max-width: 220px;
  }

  .left-content {
    flex: 1;
    display: flex;
    align-items: center;
    /* center the card vertically in left column */
    padding-left: 2.25rem;
  }

  .right-container {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 2rem;
    height: 100%;
  }

  /* shrink image to fit height and avoid overflow */
  .login-illustration {
    max-width: 520px;
    /* smaller at tablet */
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* keep the vertical line full height */
  .vertical-line {
    left: 45px;
    height: 100dvh;
  }

  .blue-pill {
    left: 20px;
    height: 200px;
  }
}


@media (max-width: 719px) {
  .login-logo {
    flex-direction: column;
    height: auto;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .left-wrapper,
  .right-container {
    width: 100%;
  }

  .login-illustration {
    max-width: 360px;
  }
}


@media (max-width: 425px) {
  .blue-pill {
    height: 140px;
  }

  .main-logo {
    width: 170px;
  }

  .card-login {
    width: 95%;
    padding: 20px;
  }

  .login-illustration {
    width: 95%;
  }

  .sidebar-dashbord {
    left: 10px;
    top: 80px;
    transform: scale(0.8);
  }

  .dashboard-content {
    margin-left: 65px !important;
    width: calc(100% - 65px);
    padding: 10px;
  }

  .rightside-col {
    grid-template-columns: 1fr;
  }

  .card-body {
    flex-direction: column;
  }

  .signature-action {
    height: 180px;
  }

  .tap-icon,
  .signature-action span {
    top: 1rem !important;
  }

  .card-section-img {
    right: 0rem !important;
  }

  .outer-box {
    height: 200px !important;
  }
}

@media (max-width: 768px) {

  /* --- Fix Sidebar Blue Pill Position --- */
  .sidebar-dashbord {
    position: fixed;
    top: 60%;
    left: 37px;
    transform: translateY(-50%) scale(0.85);
    z-index: 50;
  }

  /* --- Fix left gray divider --- */
  .divider-dashboard {
    position: fixed;
    left: 70px;
    top: 0;
    bottom: 0;
    /* ✔ makes it stretch full page ALWAYS */
    width: 1px;
    background: #0001;
    z-index: 1;
  }

  /* --- Fix Header Layout --- */
  .dashboard-header {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .search-box {
    width: 55%;
    right: 0 !important;
  }

  /* --- Fix Content Layout --- */
  .dashboard-content {
    margin-left: 90px !important;
    width: calc(100% - 90px);
    padding-right: 10px;
    padding-left: 10px;
  }

  /* --- Welcome card full-width --- */
  .card-section-dashboard .col-sm-6 {
    max-width: 100% !important;
    flex: 0 0 100%;
  }

  /* --- Status Boxes: 2 per Row (Figma) --- */
  .rightside-col {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
    width: 100%;
  }

  .rightside-first,
  .rightside-second,
  .rightside-third,
  .rightside-four {
    width: 100% !important;
    height: 93px;
    padding: 12px 10px;
  }

  /* Fix icon alignment inside cards */
  .card-text-title {
    justify-content: flex-start !important;
    gap: 10px;
  }

  /* Welcome text readable */
  .card-subheading {
    width: 100% !important;
    font-size: 14px;
  }

  /* Fix Recent Documents width */
  .recent-documents {
    width: 100%;
    margin-top: 20px;
  }

  .welcome-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .welcome-img {
    align-self: flex-end;
    /* matches figma look */
  }

  .username-display {
    position: relative;
    left: 5rem;
  }

  .profile-dropdown {
    left: 5rem !important;
  }
}

@media (max-width: 375px) {
  .blue-pill {
    height: 120px;
  }

  .main-logo {
    width: 150px;
  }
}

@media (min-width: 1800px) {
  .card-section-dashboard .col-sm-6 {
    max-width: 48%;
  }

  .recent-documents {
    max-width: 600px;
  }
}

.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  /* LEFT + RIGHT */
  align-items: center;
  margin-top: 15px;
  padding: 10px 5px;
}

.pagination-info {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.pagination {
  display: flex;
  gap: 6px;
}

/* Force portal dropdown to float above everything */
.suggestion-box-portal {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999999;
}

/* Individual suggestion item */
.suggestion-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.suggestion-item:hover {
  background: #f3f3f3;
}

/* No results */
.no-results {
  padding: 12px;
  text-align: center;
  color: #777;
  font-style: italic;
}

/* Fix parent stacking so portal appears outside properly */
.recipient-row {
  position: relative;
  z-index: 20;
}

.recipient-fields {
  position: relative;
  z-index: 30;
}

/* Input must not hide dropdown */
.recipient-fields input.form-control {
  position: relative;
  z-index: 40;
}

/* Portal must stay on top even of modals */
.modal-overlay,
.success-modal,
.confirm-overlay {
  z-index: 1000000 !important;
}


.recipient-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;

}

.recipient-subtext {
  color: gray;
  font-size: 14px;
  font-weight: 400;
}

.manage-table tbody tr:nth-child(odd) {
  background-color: #f3f4f6;
  /* light grey */
}

.manage-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}

.app-footer {
  position: fixed;
  bottom: 0;
  left: 70px;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: #8a8a8a;
  padding: 10px 0;
  /* background: #f9fafb; */
  /* border-top: 1px solid #e5e7eb; */
}

.footer-env {
  font-weight: 500;
}

.footer-version {
  opacity: 0.8;
}

/* Page-specific overrides */
/* .app-footer-dashboard {
  background: #f9fafb;
} */

.app-footer-manage {
  background: #ffffff;
}

.app-footer-send {
  background: #ffffff;
}