body{    
    font-family: Ubuntu, sans-serif;
    margin: 0 auto;
    line-height: 1.5;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

.circle{ 
    border-radius: 50%;
    object-fit: cover;            
}

.topMenu{
    width: 100%;
    height:38px;
    top:0px;    
    padding:8px;    
    z-index: 9999;    
    text-align: center;
    position: fixed;    
}

.topMenu .left{
    font-size: 35px;
    float:left;
    cursor: pointer;
    width: 108px;    
    margin-left: -16px;
}

.topMenu .right{    
    float:right;
    right:20px;
    cursor: pointer;
    position: fixed;
}

.topMenu .right .user{
    font-size: 28px;
}

.topMenu .right .notifications{
    font-size: 30px;
    margin-right: 25px;
    border-radius:5px;
    padding:7px;
    float:left;    
    font-weight: 500;
}

.topMenu .logo{
    position: absolute;
    float:left;
    left:121px;
}

.topMenu .profile{
    width:43px;
    height:43px;
}

.topMenu img{
    width:225px;
}

.login .logo{
    position: relative !important;
    float:unset !important;
    left:0px !important;
}

.myButton{
    cursor: pointer;
}

.topMenu .myButton{ 
    width:40px;
    text-align: center;    
    padding:10px;
    font-size: 18px;
    border-radius: 10px;   
    font-weight: 500;
}

.sideMenu{
    width:100px;    
    height:50px;
    line-height: 50px;
    height:100vh;
    position: fixed;
    top:54px;
    z-index: 99999;
    /*display:none;*/
}

.sideMenu a{
    text-decoration: none;    
}

.sideMenu .text{
    display: none;
}

.sideMenu .option{    
    margin-top: 50px;
    text-align: center;
    height:50px;
}

.sideMenu .option i{
    font-size: 32px;    
    vertical-align: middle;
    margin-right: 10px;
}

.sideMenu .logo{
    margin: 0 auto;
    text-align: center;
}

.sideMenu .logo img{    
    width:200px;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: 26px;
    text-align: center;    
}

.forms{
    padding:30px;
    width:45%;
    text-align: left;
    margin:0 auto;    
    border-radius: 8px;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.forms a{
    text-decoration: none;
}

.forms .socialMedia{
    display: inline-flex;
}

.forms .title{
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.forms .miniTitle{
    margin-top: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;    
}

.forms .formTitle{
    font-size: 16px;    
    font-weight: 500;   
}

.forms .createAcc{
    margin-top: 25px;
    font-weight: 500;
    text-align: center;   
}

.forms .createAcc a{
    font-size: 16px;    
}

.forms .details{
    display:none;
}

.forms input[type=text],.forms input[type=password],.forms input[type=email],.forms input[type=number],.forms select,.forms textarea,.forms input[type=datetime-local],.forms input[type=date],.search select,.search input{
    width: 96%;
    height: 58px;
    border-radius: 5px;        
    background-blend-mode: normal;        
    font-size: 18px;
    font-weight: 400;        
    padding-left: 20px;
    border:0;
    margin-bottom: 20px;
    margin-top: 10px;    
}

.forms textarea{
    height:30px;
    padding:10px;    
    line-height: 1.2;
}

.forms select{
    width:100%;
    cursor: pointer;
}

.forms input[type=submit]{
    width: 100%;
    height: 58px;
    border-radius: 8px;
    background-blend-mode: normal;     
    font-size: 18px;
    font-weight: 500;
    text-align: center;    
    padding-left: 10px;    
    border:0;
    cursor: pointer;
}

.forms input[type=file]{
    margin-top: 8px;
}

.forms .logout{
    width:22%;
    padding:10px;
    border-radius: 5px;
    text-align: center;    
    cursor: pointer;
    font-weight: 500;
    margin-top: 15px;
}

.forms label{
    cursor: pointer;
}

.forms input:disabled{
    cursor:not-allowed;    
}

.forms .buttonPos .delete{
    padding:15px;
    border:0;
    width:97%;
    text-align: center;
    display:inline-block;
    font-size: 18px;
    margin-top: 5px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
}

.forms .double input[type=text],.forms .double input[type=number]{
    width:46%;
}

.forms .chooseWallet,.forms .choosePaymentWay{
    display:inline-flex;
    padding-top: 10px;
    padding-bottom: 10px;
}

.forms .chooseWallet img,.forms .choosePaymentWay i{
    width:65px;
    height:65px;
    object-fit: cover;
    border-radius: 20px;
    margin-right:20px;
    padding:5px;
    font-size: 50px;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
}

.forms .chooseWallet input[type=radio],.forms .choosePaymentWay input[type=radio]{
    display: none;
}

.otc {
    position: relative;
    margin: 0 auto;
    margin-bottom: 25px;
}

.otc fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.otc fieldset div {
    display: flex;
    align-items: center;
}

.otc input[type="number"] {
    width: 18%;
    line-height: 1;
    margin: .1em;
    padding: 1px;
    font-size: 2.65em;
    text-align: center;
    appearance: textfield;
    -webkit-appearance: textfield;
    border-radius: 4px;
    background-blend-mode: normal;        
}

.otc input::-webkit-outer-spin-button,
.otc input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 2 group of 3 items */
.otc input[type="number"]:nth-child(n+4) {
    order: 2;
}

.otc label {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.forms .box{
    margin: 0 auto;
    width: 338px;
    border-radius: 8px;    
    background-blend-mode: normal;            
    font-size: 16px;
    font-weight: 500;    
    margin-bottom: 20px;
    line-height: 60px;
    text-align: center;
    margin-right: 10px;    
    padding:10px;
    margin-bottom: 20px;
}

.forms .box img{
    width:30px;
    margin-right: 5%;
    vertical-align: middle;
}

.forms .mobile, .forms .comments {
    display: flex;
    gap: 10px; /* Απόσταση μεταξύ των input */
    flex-wrap: wrap;
}

.forms .mobile select, .forms .mobile input[type=number],.forms .mobile input[type=text], .forms .comments input[type="text"] {
    flex: 1;
    min-width: 0;
}

.forms .g-recaptcha{
    margin:0 auto;
    text-align: center;
    width: 304px;
}

.forms .loginWith{
    margin-bottom: 10px;    
}

.forms .loginWith .btn{    
    padding:10px;
    margin-right: 10px;    
    border-radius: 5px;
}

.forms .loginWith .active{
    font-weight: 500;
}

.forms .notice{
    font-weight: 500;
    font-size: 12px;
    text-align: right;
}

.forms .termsAndConditions{
    text-align: left;    
    font-size: 15px;
    margin-top: 10px;
}

.forms .termsAndConditions a{
    font-size: 15px;
    font-weight: 500;
}

.forms .termsBox{
    line-height: 2.2;  
    font-weight: 500;
}

.forms .termsBox i{
    font-size: 20px;
    vertical-align: middle;
    margin-right: 10px;
}

.main{
    margin-top:70px;
    margin-left: 100px;
}

/* [Object] Modal
 * =============================== */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  transition: opacity .25s ease;
  z-index: 2;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 50px;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  border-radius: 5px;
  padding: 1em 2em;
  height: 90%;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:before {
  transform: rotate(-45deg);
}

.modal__edit{
  position: absolute;
  right: 2.5em;
  top: 0.75em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
  font-size: 21px;
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }
}

.tableTitle{
    width:95%;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding-top:5px;
    padding-bottom:5px;
    margin:0 auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.mainTable{
    width:95%;
    border-collapse: collapse; 
    margin:0 auto;
    font-size: 16px;
    line-height: 2;
}

.mainTable a{
    text-decoration: none;
}

.mainTable .head,.mainTable .url{
    cursor: pointer;
}

.mainTable th{
    font-weight: 500;
    padding:5px;
    text-align: left;
}

.mainTable tr{
    height:50px;
}

.mainTable td{
    font-size: 15px;
    padding:10px;
    text-align: left;
}

.mainTable .bi-check-lg{
    font-size: 20px;
}

.mainTable .bi-x-lg{
    font-size: 20px;
}

.mainTable .center{
    text-align: center;
}

.mainTable .dateColumn{
    width:165px;
}

.mainTable .small{
    width:80px;
}

.mainTable .medium{
    width:250px;
}

.mainTable tfoot tr{
    border-bottom: 0px;
}

.mainTable .flags{
    width:30px;
}

.mainTable .wallet{
    width:200px;    
    padding:5px;
    border-radius: 10px;
    font-weight: bold;
}

.mainTable .wallet img{
    width:40px;
    height:40px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 20px;
}

.mainTable .center .wallet{
    margin: 0 auto;
    text-align: center;
}

.mainTable .paymentWay{
    width: 40px;    
    border-radius: 10px;
    font-size: 20px;
    padding:8px;
    text-align: center;
}

.mainTable .center .paymentWay{
    margin: 0 auto;
}

.mainTable .editBtn{
    width:120px;
    display:inline-flex;
}

.mainTable .myButton{
    width:100px;
    text-align: center;    
    padding:5px;
    border-radius: 10px;   
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 2px;
    font-weight: 500;
}

.modernTable{
    width:95%;
    border-collapse: collapse; 
    margin:0 auto;
    font-size: 16px;
    line-height: 2;
}

.modernTable tr{
    height:80px;
}

.modernTable td{
    padding:15px;
}

.modernTable .status{
    width:75px;
}

.modernTable .status img{
    padding:5px;
    width:65px;
    border-radius: 20px;
}

.modernTable .walletColumn{
    width:50px;
}

.modernTable .walletColumn img{
    width:50px;
    height:50px;
    border-radius: 50%;
    object-fit: cover;    
}

.modernTable .cashmapStatus{    
    display: flex;
    align-items:center;
    justify-content: center;
    min-width: 65px;
    max-width: 65px;
    height: 65px;
    border-radius: 24px;
    position: relative;
    top: 5px;
    font-size: 25px;
}

.modernTable .wallet img{
    width:40px;
    height:40px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 20px;
}

.modernTable .date{
    font-size: 14px;
    font-weight: 500;
}

.modernTable .payment{
    font-size: 18px;
    letter-spacing: 1.2px;
}

.modernTable .editColumn{
    width:60px;
}

.modernTable .myButton{
    width: 60px;
    font-size: 20px;
    padding:10px;
    text-align: center;
    border-radius: 10px;
}

.modernTable .totalCost{
    font-size: 20px;
    letter-spacing: 1.2px;
}

.modernTable .cryptoPrice{
    font-size: 20px;
    letter-spacing: 1.4px;    
}

.modernTable .big{
    width:80%;
}

.modernTable .bigColumn{
    width:300px;
    text-align: right;
}

.modernTable .sumCost{
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    letter-spacing: 1.2px;
}

.modernTable thead{
    position: sticky;
    top: 0;
    z-index: 1;    
}

.modernTable thead tr,.modernTable tfoot tr{
    height:20px;
}

.modernTable thead td{
    font-weight: bold;
    padding:10px;
}

.modernTable tfoot td{
    padding: 10px;
}

.modernTable .liveNowCost{
    text-align: right;
    font-weight: bold;
}

.analyticsHead{
    width:100%;
    display:inline-flex;
}

.analyticsPreview{
    width:100%;
    display:inline-flex;
    margin-top: 10px;
}

.carts{
    width:35%;    
    margin-right: 10px;
    margin-left: 10px;
    padding:10px;
    border-radius: 10px;
    text-align: left;
}

.carts .price{
    width:30%;
    text-align: center;
}

.carts .line{
    max-width:50%;
    text-align: center;
}

.carts .title{
    font-size: 14px;
    font-weight: bold;
    margin-left: 5px;
}

.carts i{
    font-size:50px;   
}

.carts .number{   
    font-size:20px;    
}

.categoriesTable th{
    text-align: left;
    padding-left:20px;
    
}

.categoriesTable td{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left:40px;
}

.categoriesTable .myButton{
    font-size: 18px;    
}


.daily{    
    flex: 1;
    min-width: 0;
}

.head-stat{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

.statBox{
    width:94%;
    padding:10px;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 60px;
}

#hide-overspend-alert{
    float:right;
    background:none;
    border:none; 
    font-weight:bold; 
    cursor:pointer;
}

#myImg{
    width:100px;
    height:100px;
    object-fit: cover;    
}

.search{
    text-align: center;
}

.search input{
    cursor: pointer;
    width: 99%;
    margin-bottom: 5px;
}

.search select {
    cursor: pointer;
    width: calc((100% - 20px) / 4);
}

.search input, .search select{
    padding-left:10px;
    margin-bottom: 2px;
}

#totalsRow td{
    text-align: right;
    font-weight: bold; 
    padding: 5px;    
}

#totalsRow span {
    display: inline-block;
    min-width: 100px;
}

.limitBars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: column;
}

.limitItem {
  padding: 10px;
  border-radius: 8px;
}

.label {
  margin-bottom: 5px;
  font-weight: bold;
}

.bar {
  width: 100%;
  height: 18px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 5px;
}

.fill.green {
  height: 100%;
}

.fill.orange {
  height: 100%;
}

.fill.red {
  height: 100%;
}
.amounts {
  font-size: 14px;
  margin-bottom: 5px;
}

.analyticsGroup {
    border-radius: 8px;
    margin-bottom: 25px;
    margin-top: 10px;
    margin-left:10px;
    width: 98%;
}

.analyticsToggle {
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analyticsContent {
    padding: 10px 15px;
    display: none;
}

.analyticsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.analyticsGroup .carts{
    width:100%;
}

.alert {
    font-weight: bold;
    margin-top: 5px;
    padding: 5px 10px;
    border-radius: 5px;
}

#analyticsViewSelector{
    width: 90%;    
    border-radius: 5px;        
    font-size: 18px;
    font-weight: 400;        
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 5px;        
    margin-right: 10px;    
    cursor: pointer;
}

.renderIndex{
    width:95%;
    margin-left: 48px;
    margin-bottom: 10px;

}

/* Container για τις προτάσεις autocomplete */
.autocomplete-suggestions {
  position: absolute;
  z-index: 9999;
  max-height: 150px;
  overflow-y: auto;
  width: 20%; /* θα γίνει override με JS αν χρειαστεί */
  font-size: 14px;
}

/* Κάθε γραμμή πρότασης */
.autocomplete-suggestion {
  padding: 6px 10px;
  cursor: pointer;
}

.autocomplete-suggestion.active {
  /* προαιρετικά: */
  font-weight: bold;
}

#custom_numpad {
    display: none;
}

.calendar-grid {
  transition: transform 0.3s ease;  
  transform: translateX(0);  
  will-change: transform;
}

.calendar-grid.slide-left {
  transform: translateX(-100%);
}

.calendar-grid.slide-right {
  transform: translateX(100%);
}

.calendar-container {
  display: flex;
  flex-direction: column;  
  height: 100vh;
  position: relative;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;    
  position: relative;
}

.calendar-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.calendar-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-header button,
.calendar-header select {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
}

#date-picker {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 6px;
  padding: 6px;
  display: none;
  gap: 5px;
  z-index: 10;
}

#date-picker select {
  font-size: 0.9rem;
  padding: 4px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 0fr;
  flex-grow: 1;
}

.day-header, .day {
  padding: 6px;
}

.day-header {
  height:30px;
  text-align: center;
  font-weight: bold;
  font-size: 0.85rem;
}

.day {
  position: relative;
  min-height: 150px;
  cursor: pointer;
  transition: background 0.2s;
}

.day.inactive{
    border-right:unset;
    border-bottom:unset;    
}

.date-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.income,.expense  { 
    font-size: 16px; 
}

#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  align-items: center;
  justify-content: center;
}

#modal > div {
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow: auto;
  padding: 20px;
  position: relative;
}

#modal button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
}
