@media (max-width: 500px) {
    /* general styling starts */

/* typography starts */

.textTitle{
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.bold24{
    color: #000;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.bold20{
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.bold18{
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.bold16{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.bold14{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.grey18{
    color: rgba(0, 0, 0, 0.60);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.grey16{
    color: rgba(0, 0, 0, 0.60);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.grey14{
    color: rgba(0, 0, 0, 0.60);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.grey12{
    color: rgba(0, 0, 0, 0.60);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.norm16{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.norm14{
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.norm12{
    color: #000;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


/* typography starts */

.cta{
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-radius: 12px;
    padding: 4vw 5vw;
    width: max-content;
}

/* form starts */

.main-form{
    gap: 5vw;
}

.two{
  flex-direction: column;
  gap: 5vw
}

.input{
    gap: 0.5vw;
    position: relative;
    display: flex;
    flex-direction: column;
}

.input textarea{
    color: rgba(0, 0, 0, 0.50);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    height: 20vw;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #D4D7E3;
    background: #F7FBFF;
}

.input  input{
    border-radius: 12px;
    border: 1px solid #D4D7E3;
    background: #F7FBFF;
    width: 100%;
    padding: 10px 0 8px 11px;
    color: rgba(0, 0, 0, 0.60);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    height: auto;
    line-height: normal;
    overflow: hidden;
}

.input  input[type="checkbox"]{
    width: 18px;
    height: 18px;
}

.input label{
    gap: 10px;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.input p{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* form ends */

.al{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* general styling ends */

/* nav starts */

nav{
    padding: 1.5vw 3vw;
}

.logo{
    width: 6vw;
}


/* nav ends */

/* signin starts */

.signin-container{
    display: flex;
    justify-content: space-between;
    padding: 2vw;
    height: 100vh;
}

.signin-container .right{
    border-radius: 24px;
    height: calc(100vh - 5vw);
    width: 40%;
    margin: 0 auto;
    display: none;
}

.signin{
    min-width: auto;
    width: 100%;
    padding: 2vw 5vw;
    gap: 5vw;
    overflow: auto;
    margin: 0 auto;
}

.signin::-webkit-scrollbar{
    display: none;
}

.signin h1{
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #0C1421;
}

.signin .forgot{
    margin-left: auto;
}

.or{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.or::before{
    content: '';
    position: absolute;
    top: 47%;
    width: 100%;
    border: 1px solid #CFDFE2;
}

.or p{
    color: #294957;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.16px;
    position: relative;
    background-color: #fff;
    width: max-content;
    padding: 0 10px;
}

.auth-apps{
    gap: 1.5vw
}

.auth-apps .item{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    background: #F3F9FA;
    padding: 10px;
}

.auth-apps .item img{

}

.auth-apps .item p{
    color: #313957;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    letter-spacing: 0.16px;
}


.signin b{
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    margin: 0 auto;
}

/* signin ends */

/* dashboard-container starts */

.dashboard-container{
    display: flex;
}

/* dashboard-container ends */

.sidebar {
    left: -250px;
    position: fixed;
    z-index: 1000;
    height: 100%;
    width: 240px;
    background: #0f172a;
    color: white;
    min-width: 80px;
    padding: 1.5vw 1vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: width 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.active {
  width: 250px;
  left: 0;
}

.sidebar .logo {
  width: 15vw;
  margin: 0 auto 2vw auto;
  display: block;
  transition: 0.3s;
}

.sidebar.collapsed .logo {
  width: 30px;
}

.sidebar .links {
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
  margin-top: 1vw;
}

.sidebar .link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  transition: 0.3s;
}

.sidebar .link img{
  width: 25px;
}

.sidebar .link:hover,
.sidebar .link.active {
  background: #1e293b;
  color: var(--link-color);
}

.sidebar.collapsed .link p {
  display: none;
}

.sidebar .toggle-btn {
  display: none;
}

.sidebar.collapsed .toggle-btn {
  right: 0px;
  transform: rotate(180deg);
}

.sidebar .down {
  margin-top: auto;
  width: 100%;
}

.sidebar .profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.sidebar.collapsed .profile .texts {
  display: none;
}

.sidebar .profile img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.sidebar .profile h3 {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.sidebar .profile p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* Main Area */
.main-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  background: #f9fafb;
  position: relative;
}

/* Header */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3vw 5vw;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

  .toggle-btn {
    display: block;
  }

header .left {
  display: flex;
  align-items: initial;
  gap: 12px;
  flex-direction: column;
}

header .right input {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  outline: none;
  display: none;
}

/* Summary Info */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 5vw;
  padding: 5vw;
}

.info .item h1 {
  font-size: 18px;
  color: #64748b;
  font-weight: 600;
}

.info .box {
  margin-top: 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: 0.3s;
}

.info .box:hover {
  transform: translateY(-3px);
}

.info .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info .top h2 {
  font-size: 28px;
  color: #111827;
  font-weight: 700;
}

/* Notify + Quick */
.notify-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5vw;
  padding: 0 5vw 5vw 5vw;
}

.notify-quick .cont,
.notify-quick .box {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notify-quick .text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.notify-quick h2 {
  font-size: 18px;
  color: #111827;
  font-weight: 700;
}

.notify-quick .items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 200px;
  overflow-y: auto;
}

.notify-quick .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  background: #f8fafc;
  transition: 0.3s;
}

.notify-quick .item:hover {
  background: #e0f2fe;
}

.notify-quick .img {
  background: #162d3a;
  border-radius: 6px;
  padding: 6px;
  height: 32px;
}

.notify-quick .img img {
  width: 20px;
  height: 20px;
}

.text.between {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s;
}

.section-link:hover {
  color: #0369a1;
  text-decoration: underline;
}

.section-link.export {
  background: var(--primary-color);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.section-link.export:hover {
  background: #0369a1;
}


/* Help Footer */
.help {
  text-align: center;
  background: white;
  padding: 15px;
  border-radius: 10px;
  margin: 2vw;
  color: #475569;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.help a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.help a:hover {
  text-decoration: underline;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* main-body ends */

/* tables starts */

.table-box{
    overflow:auto;
    max-height: 45vh;
    height: auto;
}

.table-box table{
    width:100%;border-collapse:collapse;
    font-size:14px
}

.table-box th,td{
    text-align:left;
    padding:10px;
    border-bottom:1px solid #e5e7eb
}

.table-box th{
    background:#f1f5f9;
    font-weight:700;
    color:#111827
}

.table-box td a{
    color:var(--link-color);
    text-decoration:none;
    font-weight:600
}

.table-box td a:hover{
    text-decoration:underline
}

/* tables ends */

/* lists starts */

.list{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-left:0;
    margin:0;
    height: 20vh;
    overflow: auto;
}

.list li{
    background:white;
    border-radius:6px;
    padding:10px 14px;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
    font-size:14px;color:#111827
}

/* lists ends */

/* badge starts */

.badge{
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    color:white
}

.badge.pending{
    background:#fbbf24;
}

.badge.approved{
    background:#10b981;
}

.badge.rejected{
    background:#ef4444;
}

.badge.escalated{
    background:#f97316;
}

/* badge ends */

/* risk starts */

.risk { 
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}
.risk.low { 
    background: #10b981;
} 

.risk.medium { 
    background: #fbbf24;
} 

.risk.high { 
    background: #ef4444;
} 
/* risk ends */

/* quick-links starts */
.quick-links {
  padding: 0 2vw 2vw;
  background: white;
  margin: 0 2vw 2vw;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.quick-links h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}
.quick-links .links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.quick-link {
  background: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.quick-link:hover {
  background: #0369a1;
}

/* quick-links ends */

/* aplication starts */

.application-form {
  width: 100%;
  max-width: 750px;
  margin: 0;
  background: white;
  padding: 5vw;
  border-radius: 12px;
  box-shadow: none !important;
}

.progress {
  position: relative;
  margin-bottom: 30px;
}

.progress ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  font-weight: 600;
  color: #9ca3af;
}

.progress li.active {
  color: var(--primary-color); 
}

.progress .bar {
  position: absolute;
  top: 30px;
  left: 0;
  height: 4px;
  background: var(--primary-color);
  width: 20%;
  border-radius: 2px;
  transition: width .3s;
}

.step { 
  display: none; 
  flex-direction: column; 
  gap: 5vw; 
}

.step.active { 
  display: flex; 
}

input, select, textarea {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #f8fafc;
}

textarea { 
  resize: none; 
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.buttons button {
  background: var(--primary-color);
  border: none;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: .3s;
}
.buttons button:hover { 
  background: #0369a1; 
}


/* aplication ends */

/* Verification Layout */
.verify-section {
  padding: 2vw;
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.grid-verify {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2vw;
}

.details p {
  color: rgba(18, 24, 32, 0.9);
  margin: 6px 0;
  font-size: 14px;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

.doc-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(230, 235, 240, 0.6);
  border-radius: 10px;
  padding: 4vw;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 2.5vw
}

.doc-item h4 {
  color: var(--primary-color);
  font-size: 15px;
  margin-bottom: 8px;
}

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

.doc-actions .approve {
  background: #10b981;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: none;
}

.doc-actions .reject {
  background: #ef4444;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: none;
}

.decision-card {
  margin-top: 2vw;
  border-top: 1px solid rgba(200, 210, 220, 0.35);
}

/* application ends */

/* otp verification starts */
.otp-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.otp-box {
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:none !important;
  padding: 4vw 7vw;
  text-align: center;
  width: 400px;
  max-width: 100%;
  gap: 10vw;
  height: 100%;
}

.otp-box .bold16{
  /* display: none; */
  font-size: 24px;
}

.otp-box label{
  /* display: none; */
  font-size: 20px;
}

.otp-box h2 {
  color: #fff;
  background: linear-gradient(90deg, #e2e8f0, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.otp-box .input input {
  font-size: 18px;
  text-align: center;
  letter-spacing: 4px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.otp-timer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1vw 0;
  font-size: 20px;
}

.resend {
  background-color: transparent;
  background:none;
  border: none;
  color: #38bdf8;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.6;
  margin-left: 10px;
}

.cancel {
  display: block;
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  font-size: 20px;
}

.otp-message {
  margin-top: 15px;
  font-weight: 600;
  color: #fff;
}

.otp-message.success {
  color: #10b981;
}

.otp-message.error {
  color: #ef4444;
}

/* otp verification ends */

/* application summary */
.summary-section {
  padding: 5vw;
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

.success-banner {
  display: flex;
  align-items: center;
  gap: 5vw;
  background: #ecfdf5;
  border-left: 5px solid #10b981;
  padding: 4vw 5vw;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.success-banner img {
  width: 30px;
  height: 30px;
}

.success-banner h3 {
  color: #065f46;
  font-weight: 700;
  margin-bottom: 3px;
}

.success-banner p {
  color: #065f46;
  font-size: 14px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 5vw;
}

.summary-card {
  background: #fff;
  border-radius: 10px;
  padding: 5vw;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.summary-card h4 {
  color: #64748b;
  font-weight: 600;
  font-size: 14px;
}

.summary-card p {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-top: 6px;
}

.summary-actions {
  display: flex;
  gap: 5vw;
  margin-top: 1.5vw;
}

.cta.outline {
  background: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}
.cta.outline:hover {
  background: var(--primary-color);
  color: #fff;
}
/* application summary ends */

/* ------------------------------------------
   Document Review Page Specific Styles
------------------------------------------ */

/* Decision Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 999;
}

.modal {
  background: #fff;
  border-radius: 12px;
  width: 450px;
  max-width: 90%;
  padding: 2vw;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.2vw;
  animation: fadeIn 0.3s ease;
}

.modal h3 {
  color: var(--primary-color);
  font-weight: 700;
}

.modal .input select,
.modal .input textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  background: #f8fafc;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.modal-buttons button {
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cancel {
  background: #f1f5f9;
  color: #111827;
}

.btn-confirm {
  background: var(--primary-color);
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Global Modal */
.global-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.global-modal.active {
  display: flex;
}

.global-modal-content {
  background: #fff;
  border-radius: 10px;
  width: 500px;
  max-width: 90%;
  padding: 5vw;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  max-height: 95vh;
  overflow: auto;
  gap: 5vw
}

.global-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.global-modal-header h3 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
}

.close-global-modal {
  background: none;
  border: none;
  font-size: 22px;
  color: #555;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ---------------------------------------------
   Supervisor Override Page Styles
--------------------------------------------- */

.remarks-box {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 1vw 1.5vw;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-top: 1vw;
}

.remarks-box p {
  color: #111827;
  font-size: 15px;
  line-height: 1.6;
}

.remark-meta {
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 10px;
  font-size: 13px;
  color: rgba(55, 65, 81, 0.8);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.decision-panel {
  border-left: 4px solid var(--link-color);
}

.decision-panel h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.decision-actions {
  display: flex;
  gap: 15px;
  margin-top: 1vw;
}

.decision-actions .cta.outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.decision-actions .cta.outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* exception handling starts */

.exception-section {
  padding: 5vw;
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

.cta.small {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
}

.global-modal-content.large {
  width: 600px;
  max-width: 95%;
}

.global-modal-body p {
  font-size: 14px;
  margin-bottom: 6px;
  color: #111827;
}

#superComment {
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 10px;
}

#superDecision {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 10px;
}


/* exception handling ends */

/* repayment-entry starts*/

.repayment-section {
  padding: 5vw;
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

.verify-card h3 {
  margin-bottom: 1vw;
  color: var(--primary-color);
  font-weight: 700;
}

input[type="file"] {
  border: 1px dashed #cbd5e1;
  background: #f9fafb;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

input[type="file"]:hover {
  border-color: var(--link-color);
}

.cta.outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: 0.3s;
}

.cta.outline:hover {
  background: var(--primary-color);
  color: #fff;
}


/* repayment-entry ends*/

/* daily alerts starts */

/* Daily Alerts Page Styling */

.filter-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 5vw;
  padding: 5vw;
}

.alerts-list h2 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.alert-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  border-left: 6px solid transparent;
  transition: 0.3s;
}

.alert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.alert-icon {
  font-size: 22px;
  margin-right: 10px;
  display: none;
}

.alert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.alert-content p {
  font-size: 14px;
  color: #111827;
}

.alert-content .time {
  font-size: 12px;
  color: #6b7280;
}

.alert-card.default {
  border-left-color: #ef4444;
}

.alert-card.system {
  border-left-color: #f97316;
}

.alert-card.other {
  border-left-color: #38bdf8;
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 400px;
  max-width: 95%;
  padding: 5vw;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.modal-content h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 10px;
}

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

.modal-actions {
  display: flex;
  justify-content: space-around;
}

.modal-actions .cta {
  padding: 8px 16px;
}

.modal-actions .outline {
  background: #f8fafc;
  color: #162d3a;
  border: 1px solid #d1d5db;
}


/* daily alerts ends */

/* weekly-staff-report starts */

.week-picker {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px 12px;
  font-size: 14px;
  color: #111827;
}

.filter-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px 12px;
  font-size: 14px;
  color: #111827;
}

.table-box {
  margin-top: 20px;
  overflow: auto;
}

.table-box table {
  width: 100%;
  border-collapse: collapse;
}

.table-box th, .table-box td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.top-performer {
  background: rgba(250, 204, 21, 0.15);
  border-left: 4px solid #facc15;
}

.chart-section {
  padding: 2vw;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  margin: 2vw;
}

.chart-section h2 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1vw;
}

/* weekly-staff-report ends */

/* analytics starts */

/* Analytics Dashboard Styling */

.filter-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  padding: 8px 12px;
  font-size: 14px;
  color: #111827;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2vw;
  padding: 5vw;
}

.chart-box {
  background: #fff;
  border-radius: 12px;
  padding: 5vw;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chart-box h3 {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1vw;
}

.insight-box {
  background: #fff;
  margin: 2vw;
  padding: 5vw;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.insight-box h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 8px;
}

.insight-box p {
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}


/* analytics ends */

/* audit-logs starts */

/* Audit Logs Page Styling */

.filters {
  display: flex;
  gap: 5vw;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 4vw 5vw;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.filters .input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.filters label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.filters input, .filters select {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 13px;
}

.filters .search input {
  width: 100%;
}

.table-box {
  padding: 2vw;
}

.table-box table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.table-box th, .table-box td {
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  text-align: left;
}

.table-box th {
  background: #f1f5f9;
  color: #111827;
  font-weight: 700;
}

.table-box tr:hover {
  background: #f9fafb;
  cursor: pointer;
}

.log-detail p {
  margin: 5px 0;
  font-size: 14px;
  color: #374151;
}

.log-detail span {
  font-weight: 600;
  color: #111827;
}


/* audit-logs ends */

/* audit-record starts */

/* Immutable Record Viewer Styling */

.record-section {
  padding: 2vw;
  display: flex;
  flex-direction: column;
  gap: 5vw;
}

/* Summary grid */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 5vw;
}

.summary-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  padding: 4vw 5vw;
}

.summary-card h4 {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 5px;
}

.summary-card p {
  font-size: 15px;
  color: #111827;
  font-weight: 600;
}

/* Compare Box */
.compare-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  padding: 5vw;
}

.compare-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1vw;
}

.compare-box table {
  width: 100%;
  border-collapse: collapse;
}

.compare-box th, .compare-box td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.compare-box th {
  background: #f1f5f9;
  color: #111827;
  text-align: left;
}

/* Hash section */
.hash-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  padding: 5vw;
}

.hash-section h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 1vw;
}

.hash-item {
  margin-bottom: 10px;
}

.hash-item p {
  font-size: 14px;
  color: #111827;
}

.mono {
  font-family: "Courier New", monospace;
  color: #0f172a;
  background: #f8fafc;
  padding: 3px 8px;
  border-radius: 6px;
}

/* CTA Buttons */
.cta.outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}


/* audit-record ends */

/* main-body analytics starts */

.main-body.analytics{
  
}

.main-body.analytics header .right{
  flex-direction: column;
}

/* main-body analytics ends */

}