
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');


body, html {
  font-family: "Inter", sans-serif;
  font-family: "Geist", sans-serif;
  font-style: normal;
  margin: 0px;
  background: rgb(23, 23, 23);
  display: flex;
  justify-content: center;
  width: 100%;
}

* {
  vertical-align: baseline;
  color: white;
}

#content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  padding: 40px;
}

.head {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  padding: 60px 0px 0px;
background: #191919;
background: linear-gradient(0deg, rgb(33 34 33) 0%, rgba(25, 25, 25, 1) 100%);
  align-items: stretch; 
  margin: 0px 0px 20px;
}



#nadnadpis {
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.5;
  margin: 0px;
}


.tab {
  display: flex;
  width: 100%;
  justify-content: center;
}

.tab a {
  padding: 10px 50px;
  margin: 0px 5px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.active {
  border-bottom: 1px solid rgb(215, 215, 215);  
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 0px 0px;
  }

.footer p {
  text-align: center;
}


a {
  cursor: pointer;
  text-decoration: underline;
}

p, ul, li, label {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.25px;
  line-height: 1.6em;
  margin: 0px 0px 10px;
}

h1 {
  font-size: 38px;
  font-weight: 500;
  margin: 0px 0px 20px;
  text-align: center;
  letter-spacing: 1px;
}

h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 0px 0px 20px;
}

#left {
  width: 40%;
  padding: 40px;
}

#right {
  width: 60%;
  padding: 40px;
  box-shadow: 0px 0px 40px rgba(0,0,0,0.075);
}

input[type='text'], input[type='number'], input[type='date'] , select, #userTable {
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.5px;
  padding: 14px 16px !important;
  margin: 0px 0px 10px;
  border: 0px solid #464646;
  background: linear-gradient(321deg, #262626 0%, #3a3a3a 100%);
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: visible;
  bbox-shadow: inset 2px 2px 12px rgba(0, 0, 0, 0.2);
}

.button, input[type='submit']  {
  padding: 14px 24px;
  border-radius: 14px;
  border: 0px solid #5935ad;
  background: #395da1;
  bbackground: linear-gradient(
321deg, rgb(6 38 98) 0%, rgb(22 57 120) 100%);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.button svg {
  vertical-align: sub;
  margin: 0px 5px 0px 0px;
}


label {
  display: block;
  padding: 10px 0px 3px 0px;
  margin: 0px;
  font-size: 14px;
  opacity: 0.5;
}



input:read-only {
}

.currency {
  position: absolute;
  top:  18px;
  right:   15px;
  z-index: 100;
  font-weight: 400;
  opacity: 0.5;
  font-size: 15px;
}

.cur {
  font-size: 0.85em;
  opacity: 0.65;
  vertical-align: baseline;
  float: none;
}

.input {
 position: relative;
 display: inline-block;
}

select::after{
  background: red;
}

.section, .welcome {
    padding: 20px 20px;
  width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    
    margin: 0px 0px 20px;
    position: relative;
    overflow: hidden;
}

.welcome  {
  display: flex;
  max-width: 400px;
  margin: auto;
  justify-content: center;
}

.welcome img {
  margin: 10px auto 0px;
  max-height: 200px;
  object-fit: contain;
}

.welcome div {}

.welcome h3, .welcome p {
  text-align: center !important;
  color: rgb(200, 200, 200);
}

.welcome .features div {
  padding: 20px;
  margin: 20px 0px;
  border-radius: 20px;
  background: rgb(28, 28, 28);
}




#add {

}

#qr {
  max-width: 200px;
}

.footer p {
  font-size: 14px;
  color: rgb(70, 70, 70);
}

#expenseForm {
  display: flex;
  flex-direction: column;
}

#receiptForm {
  position: absolute;
  right: 20px;
  z-index: 10;
}

#amount {
  min-width: unset;
}

#userTable tbody {
  display: flex;
  flex-direction: column;
}

#userTable tr {
  border-bottom: 1px solid rgb(62, 62, 62);
}

#userTable td {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}

#userTable td input[type='checkbox'] {
  margin: 0px 15px 0px 0px;
  transform: scale(1.2);
}


#userTable td input[type='text'] {
  box-shadow: none;
  text-align: right;
  background: none;
  max-width: 50%;
}

#userTable td .currency {
  position: relative;
  top: auto;
  right: auto;
  padding: 0px 5px;
}

/* Align 3rd and 4th items to the right */
#userTable td > :nth-child(3){
  margin-left: auto;
}


.nousers {
  display: none;
}

.rest {
  display: none;
  flex-direction: column;
}

.input {
  display: flex;
  flex-direction: column;
  max-width: 55%;
}

#file {
  display: none;
}

.linecover {
  width: 100%;
  height: 1px;
  display: inline-block;
  border-radius: 10px;
  margin: 0px;
  background: rgb(65, 65, 65);
  vertical-align: top;
}

.line {
  width: 10px;
  height: 4px;
  margin-top: -2px;
  display: inline-block;
  border-radius: 10px;
  vertical-align: top;
}

.positive {
  background: rgb(0, 141, 106);
}

.negative {
  background: #db1f1f;
}

#qr {
}

#pageLink {
  text-align: center;
  margin: 0px 0px;
  padding: 20px;
  word-break: break-all;
}

.list {
  background: rgb(35 35 35);
  border: 1px solid rgb(40, 40, 40);  
  margin: 0px 20px;
  padding: 16px;
  width: calc(100% - 70px);
}

.list button {
    background: rgb(43 43 43);
    border: none;
    padding: 4px;
    border-radius: 4px;
    min-width: 31px;
    border-radius: 20px
}

#balance span, #settle span {
}

#settle p, #balance p {
  padding: 16px 0px;
  border-bottom:1px solid rgb(55, 55, 55);
  display: flex;
  justify-content: space-between;
  margin: 0px;
}

#balance p {
  padding: 16px 0px 8px;
}

#settle p:last-of-type {
  border-bottom:0px solid rgb(73, 73, 73);
}

#settle svg {
  vertical-align: top;
}

#balance {
  display: none;
}

.table tr {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;     
  justify-content: space-between;
  gap: 1rem;        
  padding: 16px 0px;
  border-bottom: 1px solid rgb(51, 51, 51);  
}

.table td {
  flex: 0 0 40%;        /* each item takes 50% of the row */
  box-sizing: border-box;  
}

.table td:nth-child(even) {
  text-align: right;
}

.table td:nth-child(3) {
  flex: 0 0 60%;      
  opacity: 0.5;
}

.table td:nth-child(4) {
  flex: 0 0 28%;      
}

.groupselect {
  text-align: center;
}

.groupselect a, .footer .button {
  text-align: center;
  display: inline-block;
  text-decoration: none;
  padding: 12px 20px;
  background: rgb(42, 42, 42);
  margin: 2px;
  border-radius: 10px;
}

.groupselect a:hover {
  background: rgb(68, 68, 68);

}

.mymail {
  opacity: .5;
}

#adduser {
  display: none;
}

.top {
  position: relative;
}

#menu {
  display: none;
  position: absolute;
  list-style: none;
  right: 10px;
  top: 70px;
  z-index: 50;
  background: rgb(52, 52, 52);
  border-radius: 16px;
  padding: 0px;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.35);
}

#menuBtn {
  position: absolute;
  right: 0px;
  padding: 20px;
  top: 0px;
  bottom: 0px;
  margin: a;

}

#menu li {
  padding: 0px;
  margin: 0px;
}


#menu a {
  bbackground: blue;
  padding: 16px 32px;
  display: block;
  text-decoration: none;
  opacity: .85;
  border-bottom: 1px solid rgb(65, 65, 65);
  
}

#groupForm {
  display: flex;
  flex-direction: column;
}

.users, #userForm {
  display: flex;
  flex-direction: column;
}