.new-content {
    display: flex;
    flex-direction: column;    
    padding: 10px;    
}

.loan-input {
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
}
/* New Log in form*/
.input-debtor {
  margin: auto;
  display: flex;
  flex-direction: column;
  row-gap: 0.7rem;
  align-items: center;
  /* height: 2.5rem; */
  /* width: 100%; */
  /* max-width: 30rem; */
  background-color: #fff;
  border: 1px solid var(--bd-btn-color);
  border-radius: 0.5rem;
  padding: 0.35rem;  
}
#debtor {
  display: none;
}
#amount, #description {
  display: block;
}
#debtor, #amount, #description {
  position: relative;  
  width: 100%;  
}
#debtor input[type="text"],
#description input[type="text"],
#amount input[type="text"] {  
  border: 1px solid var(--bd-btn-color);
  background-color: transparent !important;
  padding: 0.75rem;
  font-size: 1rem;
  outline: none;
  border-radius: 0.375rem;
  width: calc(100% - 1.5rem - 2px);
  min-width: 0;
}
#debtor label,
#description label,
#amount label {
  position: absolute;
  left: 15px;
  top: 12px;  
  color: #999;
  transition: all 0.3s ease;
  pointer-events: none;
  background-color: transparent;  
}

#debtor input[type="text"]:focus + label,
#debtor input[type="text"]:not(:placeholder-shown) + label,
#description input[type="text"]:focus + label,
#description input[type="text"]:not(:placeholder-shown) + label,
#amount input[type="text"]:focus + label,
#amount input[type="text"]:not(:placeholder-shown) + label {
  top: -5px;
  left: 10px;
  font-size: 12px;
  color: var(--bd-nefrit-color);
  background-color: white;
  padding: 0 5px;
}
.input-debtor select {
  border: 1px solid var(--bd-btn-color);
  background-color: transparent !important;
  padding: 0.75rem;
  font-size: 1rem;
  outline: none;
  border-radius: 0.375rem;
  min-width: 0;
  appearance: none; /* Убирает стандартное оформление в некоторых браузерах */
  -webkit-appearance: none; /* Для Safari */
  -moz-appearance: none; /* Для Firefox */
/* Стрелка */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="rgb(52, 78, 65)"/></svg>');
background-position: right 10px center;
background-repeat: no-repeat;
padding-right: 30px; /* Место для стрелки */
}

/* Option styling */
.input-debtor select option {
    background-color: white;
    color: var(--bd-base-color);
}

.input-debtor select option:hover {
    background-color: var(--bd-gray-color);
}

/* New Log in form End*/
.input-account-title {
  margin: 0.8rem;
  display: flex;
  align-items: center;
  height: 2.5rem;
  width: 100%;
  max-width: 30rem;
  background-color: #fff;
  border: 1px solid var(--bd-btn-color);
  border-radius: 0.5rem;
  padding: 0.35rem;
}

.input-account-title input[type="text"] {
  flex: 1;
  height: 100%;
  border: none;
  background-color: transparent !important;
  padding: 0.75rem;
  font-size: 1rem;
  outline: none;
  border-radius: 0.375rem;
  min-width: 0;
}
.cancel-btn, .save-btn {
    width: auto; 
  height: 100%;
  border-radius: 0.35rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.15s ease;
}
.save-btn {
  margin-right: 0.5rem;
  background-color: gray;
  opacity: 0.5;
  
  pointer-events: none;
  
}
.cancel-btn {
    background-color: var(--bd-khaki-color);
    pointer-events: auto;
    opacity: 1;
}
.cancel-btn:hover {
    background-color: var(--bd-btn-color);
}

.input-account-title input[type="text"]:not(:placeholder-shown) + .save-btn {
  background-color: var(--bd-btn-color);
  opacity: 1;
  pointer-events: auto;
}