/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf'); 
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../fonts/poppins/Poppins-SemiBold.ttf'); 
}

:root {
   --primary-color: #034ea2;   
   /*--primary-color: teal;  */
  --primary-gradient-1: linear-gradient(   to top,   color-mix(in srgb, var(--primary-color) 30%, black),   color-mix(in srgb, var(--primary-color) 30%, black)   );   
  --primary-gradient-2: linear-gradient(   to top,   color-mix(in srgb, var(--primary-color) 35%, black),   color-mix(in srgb, var(--primary-color) 35%, black)   );   
  --body-gradient: linear-gradient(   to top,   color-mix(in srgb, var(--primary-color) 20%, black),   color-mix(in srgb, var(--primary-color) 20%, black)   ); 
  --secondary-color: #181818;
  --sub-bg: #212728;
  --black: #000000;
  --transition: all 0.5s;
  --shadow: 0px 4px 25px 0px #0000000f;
}

.bg-theme{
  background: var(--primary-color) !important;
  color: var(--secondary-color);
}

.page-item.active .page-link {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}
.page-link {
    color: var(--primary-color) !important;
}

body{
  background: var(--body-gradient);
}

.finmate-balance-card {
    position: relative;
    display: inline-block;
}

.finmate-card-green {
    font-size: 22px;
    font-weight: 700;
    color: #16a34a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    font-size: 14px;
    opacity: .6;
}

.balance-tooltip {
    position: absolute;
    top: 120%;
    left: 15%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a;
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 99;
}

.balance-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
    opacity: .9;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-row .label {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .85;
}

.tooltip-row .value {
    font-weight: 600;
}

.tooltip-row svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #22c55e;
    stroke-width: 2;
}


.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
    gap: 10px; /* minimal spacing between cards */
}

@media (min-width: 992px) {
    .dashboard-tiles {
        grid-template-columns: repeat(6, 1fr); /* 6 per row on desktop */
        gap: 30px; /* minimal spacing between cards */
    }
}

.dashboard-tiles .tilex-wide {
    grid-column: span 2;
}


/* Each tile stretches to same height */
.dashboard-tiles .tilex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* hx fills the tilex and centers content */
.dashboard-tiles .hx {
    background: var(--primary-gradient-1);
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.dashboard-tiles .hx p{
    font-size: 28px;
    font-weight: bold;
    margin-top: 10px;
}

.dashboard-tiles .hx h6{
  font-size: small;
}



.tile {
    position: relative;
    width: 100%;
    height: 300px;
    background: var(--primary-gradient-1);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    color:#aaa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tile.sm {
    min-height: auto;
    margin-bottom: 20px;
}

.tile.fit {
    padding: 20px;
    min-height: 277.86px;
}

.tile .hello {
    position: relative;
    font-size: 18px;
    font-family: 'Nunito';
}

.tile .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    margin: auto;
}
.app-menubar{
    display: none;
}


/* For tablets and smaller screens (≤ 768px) */
@media (max-width: 991px) {
    .tile .stats {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        
    }
}

.tile .stats-sm {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 columns on large screens */
    gap: 5px;
    width: 100%; /* Make it as wide as possible */
    max-width: 1200px; /* Prevents it from stretching too much on large screens */
    margin: 0 auto; /* Center it */
}


.tile h2,
h2.title,
h3.title {
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2.title {
    margin-left: 10px;
    font-size: 16px;
    text-transform: none;
}

h3.title {
    font-size: 20px;
    text-transform: none;
    margin-bottom: 50px;
}

h2.title font {
    color: grey;
}

h2.title.alt {
    font-size: 10px;
    text-transform: uppercase;
}

.tile .graph {
    width: 100%;
}

.tile .graph {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 200px;
    height: 110px;
    float: right;
}

.graph .line {
    position: relative;
    width: 10px;
    height: 100%;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}
.graph .line .v {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
}
.tile span.log {
    font-size: 33px;
    font-weight: bold;
}

h3.title span {
    color: #999;
}

 h3.title .btns {
    float: right;
    margin-top: -5px;
}

h3.title button {
    border: none;
    width: auto;
    min-width: 40px;
    font-size: 12px;
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    background: var(--primary-color);
    cursor: pointer;
}

h3.title .danger {
    background: #c30;
}

h3.title button img {
    width: 20px;
    height: 20px;
}

.tile h2 a {
    color: var(--primary-color);
    float: right;
    text-decoration: none;
    letter-spacing: normal;
}

.facts {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.facts .box, .facts .box-sm {
    width: 100%;
    height: 35px;
    font-size: 12px;
}

.box .icon, .box-sm .icon {
    width: 50px;
    height: 50px;
    text-align: center;
    background: #eee;
    float: left;
    margin-right: 20px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.box .icon i {
    position: relative;
    font-size: 20px;
    color: var(--primary-color);
}

.box-sm .icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    object-position: center;
    margin-left: 8px;
}

.box span, .box-sm span {
    display: block;
    margin-top: 10px;
    font-size: 10px;
}

.box small, .box-sm small {
    display: flex;
    font-size: 14px !important;
    font-weight: bold;
    gap: 5px;
    align-items: baseline;
    justify-content: space-between;
}



.hello span {
    display: block;
    margin-bottom: 10px;
}

.hello small {
    display: block;
    font-size: 14px;
    margin-bottom: 30px;
}

.hello img {
    border-radius: 10px;
    height: 100px;
    object-fit: cover;
    width: 100%;
}

.tile .ticker {
    position: relative;
    right: 0;
    width: 100%;
    padding: 5px;
    height: 100px;
}


.ticker .pipe {
    position: relative;
    width: 100%;
    height: 7px;
    margin-bottom: 25px;
    top:15px;
    background: var(--primary-color);
    border-radius: 50px;
}

.pipe h4 {
    position: absolute;
    top: -16px;
    font-size: 12px;
}

.pipe span {
    display: flex;
    position: relative;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    top: -12px;
    border-radius: 100px;
    font-size: 8px;
    font-weight: bold;
    float: right;
    margin-bottom: 0;
    justify-content: center;
    align-items: center;    
}
.pipe span i {
    font-size: 18px;
}

.stats-sm .card {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient-1);
    color: #fff;
    border: none;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
}

.trans-date select{
    background: var(--primary-gradient-1);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

@media (max-width: 991px) {

  .custom-table-holder tr,  .custom-table-holder td,  .custom-table-holder th {
    font-size: small;
    min-width: 80px;
    white-space: nowrap;
  }
  .sort-box select{
  width: 75% !important;
  padding-left: 20px !important;
  }
    .card h5 {
      width: 100px;
      line-height: 1.5;
  }

  .custom-table-holder2 th {
      vertical-align : middle !important;
  }

  p.finmate-card-label {
    font-size: 0.6rem;
  }
   p.finmate-card-amount , .dashboard-tiles .hx p {
    font-size: 1.2rem;
  }
 
  .tile{
      padding: 10px;
      height :auto;
  }
  .title-bar{
    font-size: smaller !important;
  }
  .tile .hello {
      padding: 15px;
  }

  .stats-sm .card {
      width: 100%;
      margin-bottom: 20px;
  }

  .facts .box{
      height: auto;
      display: flex;
      align-items: center;
      flex-direction: column;
  }

  .facts .box-sm{
      height: auto;

  }

  .box .icon{
      margin-right:0px;
  }

  .tile .graph {
      justify-content: space-evenly;
      width: 100%;
      margin: 10px 0px;
      height: 120px !important;
  }
  .tile .ticker {
      margin-top: 10px;
  }
  .card span {
      font-size: 16px !important;
  }
  .statement-tag span {
    width: 130px !important;
    font-size: small;
  }
  
}

/* For tablets and smaller screens (≤ 768px) */
@media (max-width: 991px) {
    .tile .stats {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
}

.tile .stats-sm {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4 columns on large screens */
    gap: 5px;
    width: 100%; /* Make it as wide as possible */
    max-width: 1200px; /* Prevents it from stretching too much on large screens */
    margin: 0 auto; /* Center it */
}


.tile h2,
h2.title,
h3.title {
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

h2.title {
    margin-left: 10px;
    font-size: 16px;
    text-transform: none;
}

h3.title {
    font-size: 20px;
    text-transform: none;
    margin-bottom: 50px;
}

h2.title font {
    color: grey;
}

h2.title.alt {
    font-size: 10px;
    text-transform: uppercase;
}

.tile .graph {
    width: 100%;
}

.tile .graph {
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    float: right;
}

.graph .line {
    position: relative;
    width: 10px;
    height: 100%;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}
.graph .line .v {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
}

.box {
    margin-top: 10px;
}

.tile span.log {
    font-size: 33px;
    font-weight: bold;
}

h3.title span {
    color: #999;
}

 h3.title .btns {
    float: right;
    margin-top: -5px;
}

h3.title button {
    border: none;
    width: auto;
    min-width: 40px;
    font-size: 12px;
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    background: var(--primary-color);
    cursor: pointer;
}

h3.title .danger {
    background: #c30;
}

h3.title button img {
    width: 20px;
    height: 20px;
}

.tile h2 a {
    color: var(--primary-color);
    float: right;
    text-decoration: none;
    letter-spacing: normal;
}

.facts {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.facts .box, .facts .box-sm {
    width: 100%;
    height: 35px;
    font-size: 12px;
}

.box .icon, .box-sm .icon {
    width: 50px;
    height: 50px;
    text-align: center;
    background: #eee;
    float: left;
    margin-right: 20px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.box .icon i {
    position: relative;
    font-size: 20px;
    color: var(--primary-color);
}

.box-sm .icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    object-position: center;
    margin-left: 8px;
}

.box span, .box-sm span {
    display: block;
    margin-top: 10px;
    font-size: 10px;
}

.box small, .box-sm small {
    display: flex;
    font-size: 14px !important;
    font-weight: bold;
    gap: 5px;
    align-items: baseline;
    justify-content: space-between;
}



.hello span {
    display: block;
    margin-bottom: 10px;
}

.hello small {
    display: block;
    font-size: 14px;
    margin-bottom: 30px;
}

.hello img {
    border-radius: 10px;
    height: 100px;
    object-fit: cover;
}

.tile .ticker {
    position: relative;
    right: 0;
    width: 100%;
    padding: 5px;
    height: 100px;
}


.ticker .pipe {
    position: relative;
    width: 100%;
    height: 7px;
    margin-bottom: 25px;
    top:15px;
    background: var(--primary-color);
    border-radius: 50px;
}

.pipe h4 {
    position: absolute;
    top: -16px;
    font-size: 12px;
}

.pipe span {
    display: flex;
    position: relative;
    width: 45px;
    height: 30px;
    background: var(--primary-color);
    color: #fff;
    top: -12px;
    border-radius: 100px;
    font-size: 8px;
    font-weight: bold;
    float: right;
    margin-bottom: 0;
    justify-content: center;
    align-items: center;    
}
.pipe span i {
    font-size: 18px;
}

.factsbox-holder {
    display: flex;
    flex-direction: column;
    align-content: stretch;
}


.stats .card {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
}
.stats-sm .card {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient-1);
    color: #fff;
    border: none;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
}

.stats .card a {
    color: inherit;
    text-decoration: none;
}

.stats-sm .card a {
    color: inherit;
    text-decoration: none;
}

.card h5 {
    font-size: 12.5px;
    margin: 0;
}

.card span {
    font-size: 25px;
    font-weight: bold;
}

.card i {
    position: absolute;
    right: 10px;
    top: 17px;
    width: 25px;
    height: 25px;
}
/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

.swal-modal{
  width:300px !important;
  background: linear-gradient( to top,  
  color-mix(in srgb, var(--primary-color) 20%, black),   
  color-mix(in srgb, var(--primary-color) 20%, black)   
  ) !important;
}
.swal-button {
  background-color: var(--primary-color) !important;
  border:none !important;
  box-shadow: none !important;
  color: #eee;
  font-size: xx-small;
}
.swal-text, .swal-icon, .swal-icon--success {
  color: #eee !important;
  text-align: center !important;
}
.swal-title {
  color: #eee !important;
  font-size: small;
  margin-bottom: -1px !important;
}
.swal-icon--success::after, 
.swal-icon--success::before { 
   background: none !important;
}
.swal-icon--success__hide-corners {
  background: none !important;
}

.swal-content {
    color: #ababab;
}

.swal-footer {
    text-align: center !important;
    display: flex;
    flex-direction: column-reverse;
    font-size: x-small !important;
}

* {
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
}

body, html {
	height: 100%;
	font-family: Poppins-Regular, sans-serif;
}

/*---------------------------------------------*/
.bg-theme{
  background: var(--primary-color) !important;
}

a {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #aaa;
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
  color: #fff;
}

/*---------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
	margin: 0px;
}

p {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	margin: 0px;
}

ul, li {
	margin: 0px;
	list-style-type: none;
}


/*---------------------------------------------*/
input {
	outline: none;
  border: none;
  background: inherit !important;
}
input[type="date"]::-webkit-calendar-picker-indicator,.form-inline input[type="date"]::-webkit-calendar-picker-indicator, .form-inline input[type="month"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* makes icon white */
    cursor: pointer;
}

select {
	outline: none;
  border: none;
  background: var(--secondary-color) !important;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus, input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }

textarea:focus::-webkit-input-placeholder { color:transparent; }
textarea:focus:-moz-placeholder { color:transparent; }
textarea:focus::-moz-placeholder { color:transparent; }
textarea:focus:-ms-input-placeholder { color:transparent; }

input::-webkit-input-placeholder { color: #fff;}
input:-moz-placeholder { color: #fff;}
input::-moz-placeholder { color: #fff;}
input:-ms-input-placeholder { color: #fff;}

textarea::-webkit-input-placeholder { color: #fff;}
textarea:-moz-placeholder { color: #fff;}
textarea::-moz-placeholder { color: #fff;}
textarea:-ms-input-placeholder { color: #fff;}

label {
  margin: 0;
  display: block;
}

/*---------------------------------------------*/
button {
	outline: none !important;
	border: none;
	background: transparent;
}

button:hover {
	cursor: pointer;
}

iframe {
	border: none !important;
}


/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #e5e5e5;
  line-height: 1.5;
}


/*//////////////////////////////////////////////////////////////////
[ Container ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}
.no-item{
  position: relative;
  width: 100%;
  height: 100px;
  display: grid;
  place-items: center;
}
.no-item span{
  font-size: 30px;
}


.container-app {
  top:60px;
  width: 100%;  
  padding: 50px;
  bottom: 0 !important;
  height: 100%;
  position: fixed;
  overflow:auto;
}

.app-titlebar{
  background: linear-gradient(
  to top,
  color-mix(in srgb, var(--primary-color) 90%, black),
  color-mix(in srgb, var(--primary-color) 90%, black)
  );
  position: fixed;
  height: 10vh;
  width: 100%;
  border-bottom: 5px solid var(--primary-gradient-1);
  z-index: 1;
  display: flex;
justify-content: space-between;
align-items: center;
}

.app-logo{
  width: 200px;
  height: 65px;
  margin-left: 20px;
  background: #fff;
  top: 20px;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px var(--primary-gradient-1);
}

.app-logo small{
    font-size: xx-small;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -2px;
}

.app-logo img{
  width: 100%;
  height: 100%;
}
.title-bar{
  text-align: center;
  margin: auto;
  display: inline-block;
  font-size: 20px;
  color: #fff;
  line-height: 0.5;
  font-weight: bold;
}
.title-bar p{
  color: #fff;
}
.logout{
  position: relative;
  margin: auto;
  padding: 5px;
  width: auto;
  color: #fff;
  border-radius: 5px;
  margin-right: 20px;
  background: var(--primary-gradient-1);
}


.content-box{
  /* background: var(--primary-gradient-1); */
  color: #aaa;
  box-shadow: 0px 0px 5px var(--primary-gradient-2);
  width: 100%;
  text-align: center;
  padding: 10px;
  left: 0;
  border-radius: 20px;
}
.statement-box{
  height:auto;
  margin-bottom: 30px;
  box-shadow: 0px 0px 5px #555;
  width: 100%;
  text-align: center;
  padding: 10px;
  overflow: auto;
}
.usersinfo-box{
  height:470px;
  width: 100%;
  /*border-right: 1px solid var(--primary-color);*/
  padding: 10px;
  overflow: auto;
  overflow-x: hidden;
}
.details-box{
  height: 95px;
  width: 100%;
  margin-bottom: 10px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  padding: 8px;
  display: inline-block;
  border-radius: 20px;
  background: var(--primary-gradient-1);
  box-shadow: 0px 0px 4px #555;

}
.placeholder-sm{
  height: 60px;
  width: 60px;
  background: var(--primary-gradient-1);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  box-shadow: 0px 0px 5px #555;
  display: inline-block;
  margin-bottom: 10px;
}
.placeholder-sm img{
  position: relative;
  margin: auto;
  height: 100%;
  width: 100%;
  object-fit:cover;
}
.user-details{
  width: 75%;
  height: auto;
  color: var(--primary-gradient-1);
  position: relative;
  display: inline-block;
  padding-left: 10px;
  text-align: left;
}
.user-details p{
  line-height:1.195;
  font-size: small;
  color: #ccc;
  width: 250px;
  overflow: hidden;
}

.register-box{
  padding: 10px;
  height:auto;
  width: 100%;
  overflow: auto;
  overflow-x: hidden;
}
.register-box input{
  background: none;
  width: 94%;
  padding-left: 5px;
  color: #fff;
}
.register-box select{
  background: var(--primary-gradient-2);
  width: 94%;
  padding-left: 5px;
  color: #fff;
}
.register-box textarea{
  width: 100%;
  border-radius: 10px;
  background: none;
  padding: 5px;
  height: 120px;
  resize: none;
  color: #eee;
}

.register-box .btn-dark-custom{
  background: var(--primary-gradient-1);
  color: #fff;
  border: 2px solid var(--primary-color);
  width: 50%;
  border-radius: 5px !important;
}
.register-box .reg-heading{
  background: var(--primary-gradient-1);
  color: #fff;
  font-size: medium;
  top: 10px;
  margin-top: 30px;
  margin-bottom: -10px;
  border-right: 4px solid var(--primary-color);
  border-top-left-radius: 10px;
  box-shadow: 0px 0px 2px #111;
}
.input-box small{
    display: flex;
    align-items: center;
    position: relative;
    justify-content: normal;
    left: 30px;
    font-size: xx-small;
}

.placeholder{
  height: 80px;
  width: 80px;
  background: var(--primary-gradient-1);
  margin-bottom: 10px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  box-shadow: 0px 0px 5px #555;
}
.placeholder img{
  position: relative;
  margin: auto;
  height: 100%;
  width: 100%;
  object-fit:cover;
}
.placeholder span {
    color: #fff;
    margin-top: -60%;
    font-size: 20px;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
}
.input-box{
  width: 100%;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  height: auto;
  margin-bottom: 8px;
  padding: 5px;
  box-shadow: 0px 0px 2px #555;
  background: var(--primary-gradient-1);
}
.input-box span{
  border-radius: 100%;
  background: var(--primary-color);
  color: #fff;
  font-size: 14px;
  padding: 5px;
}

.clientinfo-box{
  /*height:460px;*/
  width: 100%;
  padding: 10px;
  overflow: auto;
}
.client-details-box{
  height: 110px;
  width: 100%;
  margin-bottom: 10px;
  border: 2px solid var(--primary-color);
  padding: 8px;
  display: inline-block;
  border-radius: 20px;
  background: var(--primary-gradient-1);
  box-shadow: 0px 0px 4px #555;
}
.client-details{
  width: 65%;
  height: auto;
  color: var(--primary-gradient-1);
  position: relative;
  display: inline-block;
  padding-left: 10px;
}
.client-details p{
  line-height:1.4;
  font-size: small;
  color: #ccc;
}
.client-placeholder-sm{
  height: 40px;
  width: 40px;
  background: #555;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  box-shadow: 0px 0px 5px #555;
  display: inline-block;
  border-radius: 10px;
}
.client-placeholder-sm img{
  height: 100%;
  width: 100%;
  object-fit:cover;
}
.client-update{
  position: relative;
  background: var(--primary-color);
  border: 2px solid #222;
  width: 20%;
  display: inline-block;
  margin: auto;
  border-radius: 10px;
}
.client-update button{
 color: #fff;
 font-size: small;
 width: 100%;
}
.client-holder{
  /*height: 480px;*/
  overflow: auto;
}
.client-holder .search-box{
  width:100%;
  height: 30px;
  background:#333333;
  color: #fff;
  position: relative;
  margin-bottom: 10px;
  border-radius: 10px;
}
.search-box input{
  width:95%;
  height: 100%;
  color: #fff;
}
.custom-table-holder{
  width: 100%;
}
.custom-table-holder tr{
  height: 60px;
  border-bottom:1px solid #bbb;
}

.custom-table-holder button{
  background: var(--primary-gradient-1);
  color: #eee !important;
}
.custom-table-holder td p{
  width: 100%;
  line-height: 1.2;
  text-align: left;
}
.custom-table-holder td small{
  text-align: left;
  display: flex;
}
.client-placeholder-xsm {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 2px solid #999;
  overflow: hidden;
  margin: auto;
}
.client-placeholder-xsm  img{
  width: 100%;
  height: 100%;
  object-fit:cover;
}
.customer-display-box{
  height: auto;
  width: 100%;
  background: var(--primary-gradient-1);
  padding: 20px;
  border-radius: 20px;
}
.customer-display-box p{
  margin-bottom: 10px;
  text-align: left;
  border-bottom: 1px solid var(--primary-gradient-1);
  color: #aaa;
  font-size: small;
}

.customer-display-box span{
  position: relative;
  height: 25px;
  width: auto;
  min-width: 25px;
  padding: 5px;
  color: #eee;
  border-radius: 10px;
  text-align: center;
}
.customer-display-box b{
  font-size: large;
}
.client-placeholder-lg {
  width: 100px;
  height: 100px;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
  overflow: hidden;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 15px;
}
.client-placeholder-lg  img{
  width: 100%;
  height: 100%;
  object-fit:cover;
}
.custom-table-holder2{
  font-size: small;
  width: 100%;
}
.custom-table-holder2 th{
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}
.custom-table-holder2 tr{
  height: 20px;
  border-bottom:1px solid #bbb;
  padding: 5px;
}
.custom-table-holder2 tr:nth-child(odd){
 background: var(--primary-gradient-1);
 color: #ccc;
}
.custom-table-holder2 tr:nth-child(even){
 color: #ccc;
}
.custom-table-holder2 button{
  background: var(--primary-color);
  color: #fff !important;
  height: auto;
  width: auto;
  text-align: center;
  font-size: small;
}
.custom-table-holder2 td p{
  width: 100%;
  line-height: 1.2;
}
.custom-table-holder2  input{
  width: auto;
  text-align: center;
  color: inherit;
}
.custom-table-holder2 td,.custom-table-holder2 th {
  padding:4px;
  padding-left: 5px;
  vertical-align: middle !important;
  white-space: nowrap;
}


.transactions-box {
  padding: 0px;
  padding-top: 10px;
  /*height: 50vh;*/
  width: 100%;
  overflow: auto;
}

.transactions-box-long {
  padding: 5px;
  /*height: 48vh;*/
  width: 100%;
  overflow: auto;
  overflow-x: hidden;
}

.sort-box-search{
  background: var(--primary-gradient-1);
  width: 100%;
  height: 50px;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 10px;
  margin-top: 10px;
}

.sort-box-search input{
  width: 100%;
  background: #aaa;
  color: var(--primary-gradient-1);
  height: 40px;
  display: inline-block;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  padding-left:5px;
}

.sort-box{
  background: var(--primary-gradient-1);
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.sort-box input{
  /* width: 68%; */
  background: #aaa;
  color: var(--primary-gradient-1);
  height: 40px;
  display: inline-block;
  border-radius: 10px;
  border: 2px solid #4f5f52;
  padding-left:10px;
}

.sort-box select{
  width: 69%;
  height: 40px;
  display: inline-block;
  border-radius: 10px;
  color: #4f5f52 !important;
  background: var(--primary-gradient-1);
}

.sort-box p{
  color: #fff;
  position: relative;
  display: inline;
  width: 100%;
}

.sort-box button{
  color: #fff;
  border-radius: 5px;
  padding:5px;
  width: 30%;
  margin-left: 10px;
}
.statement-header-box{
  padding:10px;
  height: auto;
  background: var(--primary-gradient-1);
  position: relative;
}
.statement-header-box p{
  line-height: 1.2;
}
.statement-comp-title{
  margin-bottom: 20px;
}
.statement-logo {
    width: 150px;
    height: 44px;
    padding: 5px;
    border-radius: 10px;
    display: inline-block;
    position: relative;
}
.statement-logo img{
  width: 100%;
  height: 100%;
}
.statement-tag{
  width: 100%;
  height: auto;
  margin-bottom: 5px;
  font-size: small;
  position: relative;
}
.statement-tag span:not([class]) {
  width: 20%;
  background: var(--primary-gradient-1);
  color: #fff;
  display: inline-block;
  margin-right: 20px;
}
.tag{
  width: 74%;
  display: inline-block;
}
.trans-date{
  width: 70%;
  padding: 3px;
}
.trans-date p{
  display: flex;
  align-items: center;
}
.trans-date input{
  width: 100%;
  border: none;
  border-radius: 5px;
  background: var(--primary-gradient-1);
  padding: 5px;
  color: #eee;
}
.c-name{
  font-size: large;
  color: var(--primary-color);
}
.special{
  margin-top: 10px;
  padding: 5px;
  width: 25%;
  border-radius: 5px;
  color: #eee;
  background: var(--primary-gradient-1);
  margin-bottom: 10px;
}


/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid rgba(255,255,255,0.24);
  margin-bottom: 30px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: none !important;
  padding: 0 5px 0 38px;
}

/*---------------------------------------------*/ 
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: #fff;
}

.focus-input100::after {
  font-family: Material-Design-Iconic-Font;
  font-size: 22px;
  color: #fff;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 6px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus {
  padding-left: 5px;
}

.input100:focus + .focus-input100::after {
  top: -22px;
  font-size: 18px;
}

.input100:focus + .focus-input100::before {
  width: 100%;
}

.has-val.input100 + .focus-input100::after {
  top: -22px;
  font-size: 18px;
}

.has-val.input100 + .focus-input100::before {
  width: 100%;
}

.has-val.input100 {
  padding-left: 5px;
}


/*==================================================================
[ Restyle Checkbox ]*/

.contact100-form-checkbox {
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 35px;
}

.input-checkbox100 {
  display: none;
}

.label-checkbox100 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #fff;
  line-height: 1.2;

  display: block;
  position: relative;
  padding-left: 26px;
  cursor: pointer;
}

.label-checkbox100::before {
  content: "\f26b";
  font-family: Material-Design-Iconic-Font;
  font-size: 13px;
  color: transparent;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: #fff;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.input-checkbox100:checked + .label-checkbox100::before {
  color: #555555;
}


/*------------------------------------------------------------------
[ Responsive ]*/
@media (max-width: 991px) {
    
  .sort-box{
    margin-top: 10px;
  }

  #withdrawForm{
    display: block !important;
  }

  .form-inline {
    flex-direction: column;
    align-items: stretch;

}
.input-box small{
    left: 23px;
}
.clientinfo-box{
  overflow: hidden;
}

.tile h2 {
    margin-left: 20px;
    padding-top: 10px;
}

.hello span {
    font-size: small;
}

.app-menubar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;

  background: var(--primary-gradient-1);
  display: flex;
  justify-content: space-around;
  align-items: center;

  padding-bottom: env(safe-area-inset-bottom);
  z-index: 9999;
  box-shadow: 0 -1px 6px rgba(0,0,0,.2);
}

/* Menu item */
.menu-item {
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: #cfcfcf;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;
  font-size: 11px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

/* Icon */
.menu-item i {
  font-size: 16px;
  line-height: 1.1;
}

/* Label */
.menu-item small {
  font-size: 8px;
  line-height: 1;
}

/* Active state */
.menu-item.active {
  color: var(--primary-color);
}

/* Subtle active indicator (optional) */
.menu-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}


  .logout {
    margin-right: 10px;
    font-size: x-small;
  }

  .container-app{
    padding: 15px;
    position: relative;
    height: 80vh;
    overflow: auto;
  }

    .tag {
    width: auto;
    font-size: small;
    padding: 5px;
  }

  .content-box, .statement-box {
    background: var(--primary-gradient-1);
    width: 100%;
    left: 0;
    position: relative;
    /* height: 100vh; */
    border-radius: 0;
    overflow: auto;
    overflow-x: hidden;
  }

  .app-titlebar {
    height: 70px;
  }

  .app-logo {
    width: auto;
    height: 40px;
    margin-left: 10px;
    padding: 4px;
  }

  .app-logo small{
    margin-top: 2px;
    color: var(--primary-gradient-1);
  }

  .clientinfo-box {
    height: auto;
  }
  .usersinfo-box {
    height: auto;
  }
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
  .transactions-box {
    height: auto;
    padding: 0px;
    padding-top: 10px;
  }
  
  .transactions-box-long {
    height: auto;
    overflow: auto;
  }
  .statement-header-box{
    height: auto !important;
  }
}

@media (max-width: 576px) {
  input,p,button,.btn-dark-custom {
    font-size: small;
    height: auto;
    color:#bbb !important;
  }
  button{
    font-size: small;
    height: auto;
  }

  .p-t-40{
    padding-top: 15px;
  }

  .usersinfo-box {
    height: auto;
  }
  .register-box input {
    width: 87%;
  }
  .register-box select {
    width: 87%;
  }
  .input-box span {
    font-size: small;
    padding: auto;
  }
  .placeholder {
    height: 70px;
    width: 70px;
  }
  .register-box .reg-heading {
    margin-top: 25px;
    font-size: small;
  }
  .placeholder span {
    font-size: large;
  }
  .user-details {
    width: 72%;
    height: auto;
  }
  .client-details-box {
    height: auto;
  }
  .client-details {
    padding-left: 0px;
  }
  .client-update button {
    font-size: x-small;
    padding: 0px;
    width: 100%;
  }
  .register-box{
    height: auto;
  }
  .register-box textarea{
    height: 120px;
  }
  .custom-table-holder td p {
    font-size: small;
    padding-left: 5px;
    overflow: hidden;
  }
  .custom-table-holder button,.custom-table-holder2 button {
    font-size: small;
    padding: 6px;
  }
  /* .custom-table-holder2 td {
    font-size: x-small;
  } */
  .sort-box{
    height: auto;
  }
  /* .sort-box p {
    font-size: x-small;
  } */
  .sort-box input {
    width: 75% !important;
    height: auto;
    padding: 2px;
  }
  .sort-box button {
    width: auto;
    margin-left: 5px;
    font-size: small;
  }

  .c-name {
    font-size: small;
  }

  .trans-date {
    width: 100% !important;
  }
  .trans-date p {
    display: flex;
    align-items: center;
    font-size: small;
    width: 24%;
    text-align: center;
  }
  .trans-date input {
    width: 100%;
  }
  .client-holder {
    height: 100%;
    overflow: auto;
}

.search-box input{
  width:90%;
  height: 100%;
  color: #fff;
}


}


/* FINCARD MODULE */

.finmate-card {
  background: var(--body-gradient);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.finmate-card-balance {
  margin-bottom: 20px;
}

.finmate-card-label {
  font-size: 0.9rem;
  color: #ddd;
  margin-bottom: 5px;
}

.finmate-card-amount {
  font-size: 1.8rem;
  color: #f5f5f5;
  margin: 0;
  font-weight: 600;
}

.finmate-card-summary {
  display: flex;
  justify-content: space-between;
}

.finmate-card-green {
  color: #4ade80;
  font-weight: bold;
  font-size: 0.9rem;
}

.finmate-card-red {
  color: #f87171;
  font-weight: bold;
  font-size: 0.9rem;
}


/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  font-family: Poppins-Regular;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f12a";
  font-family: FontAwesome;
  font-size: 16px;
  color: #c80000;

  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}



@media print {
  /* Hide topbars and menus */
  .app-titlebar,
  .special,
  .app-menubar,
  .dont-print {
    display: none !important;
  }

  .container-app {
    top: 0px;
    padding: 10px;
  }



  /* Force the header to stay two columns in portrait */
  .statement-header-box .row {
    display: flex !important;
    flex-wrap: nowrap !important;   /* no wrapping */
    justify-content: space-between;
  }

  .statement-header-box .row > div {
    flex: 0 0 50% !important;       /* each column takes 50% */
    max-width: 50% !important;      /* override Bootstrap col-* */
    float: none !important;         /* remove bootstrap floats */
    box-sizing: border-box;          /* include padding in width */
    padding-right: 10px;             /* small spacing between columns */
  }

  /* Shrink fonts to fit in portrait */
  .statement-header-box p,
  .statement-header-box .tag,
  .statement-header-box select {
    font-size: x-small !important;
    margin: 0 !important;
  }

  /* Scale down logo */
  .statement-logo img {
    max-width: 90% !important;
    height: auto !important;
  }

  /* Make select boxes fit */
  .statement-header-box select {
    width: 100% !important;
    font-size: x-small !important;
  }


  /* Content and statement boxes */
  .content-box,
  .statement-box,
  .transactions-box,
  .transactions-box-long,
  .container-app,
  .table-responsive {
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important; /* Fix table scroll issue */
    font-size: small;
    position: relative;
    background: none; 
    border-radius: 0;
    color: var(--primary-gradient-1);
  }

  /* Statement header and tags */
  .statement-header-box,
  .statement-tag span,
  .trans-date input,
  .trans-date p {
    background: none;
    color: var(--primary-gradient-1);
    font-size: small;
  }

  .statement-logo {
    background: var(--primary-gradient-2);
    border-radius: 0;
  }

  body {
    color: var(--primary-gradient-1) !important;
    background: none !important;
  }

  p {
    line-height: 1.5 !important;
    font-size: small;
  }

  .statement-tag {
    margin-bottom: -5px !important;
    font-size: x-small;
  }

  .badge {
    border: none !important;
  }

  .statement-tag > :last-child {
    margin-bottom: 20px;
  }

  .tag {
    font-size: x-small;
  }

  .trans-date input,
  .trans-date p {
    font-size: x-small;
  }

  /* Tables */
  table {
    width: 100% !important;
    table-layout: fixed !important; /* Fix overflow */
  }

  th, td {
    white-space: normal !important;
    word-break: break-word !important;
    color: var(--sub-bg) !important;
  }

  .custom-table-holder2 tr:nth-child(odd),
  .custom-table-holder2 tr:nth-child(even) {
    background: none !important;
    color: var(--primary-gradient-1);
  }

  .statement-tag > :last-child {
    margin-bottom: 20px;  
  }


  /* Auto-scale content to fit page width */
  body {
    zoom: 0.95; /* adjust 0.85 - 0.95 as needed */
  }

  /* Page settings */
  @page {
    padding: 20px;
    /* Optional: force landscape for wide tables */
    /* size: A4 landscape; */
  }
}

