.app {
  margin-left: 300px;
  width: calc(100vw - 300px);
}
.bottomLine {
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.main-menu {
  position: fixed;
  top: 68px;
  width: 300px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue1) 0, var(--blue2) 100%);
  color: var(--white);
  font-size: 20px;
  z-index: 10;
}
.main-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0 0;
}
.main-menu li:first-child {
  padding-left: 20px;
  position: fixed;
  bottom: 20px;
}
.main-menu .project-this {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-menu .project-this .project-photo {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-menu .project-this .project-photo.blue {
  background-color: #ecf6ff;
}
.main-menu .project-this .project-photo.biege {
  background-color: #ffecec;
}
.main-menu .project-this .project-photo.pink {
  background-color: #fdecff;
}
.main-menu .project-this .project-photo.green {
  background-color: #ecffec;
}
.main-menu .project-this .project-photo.yellow {
  background-color: #fffaec;
}
.main-menu .project-this img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-menu .project-this .project-name {
  overflow: hidden;
  max-width: 200px;
  max-height: 50px;
}
.main-menu li a {
  display: flex;
  align-items: center;
  height: 44px;
  padding-left: 40px;
  text-decoration: none;
  color: inherit;
}
.main-menu li a:hover,
.main-menu li a.current {
  background: var(--blue2);
}

.app h2 {
  padding: 12px 20px;
}
h3 {
  padding: 0 20px;
}
.statistic {
  display: flex;
  width: 100%;
}
.statistic .tariffs {
  width: 280px;
  padding: 8px;
  margin: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--grey2);
}
.tariffs p {
  display: flex;
  justify-content: space-between;
  margin: 6px;
}
.tariffs p:first-child {
  justify-content: start;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--grey2);
  position: relative;
}
.tariffs p:first-child #changeTariff {
  position: absolute;
  right: 0;
  fill: none;
  stroke: var(--grey2);
}
#changeTariff svg {
  width: 20px;
  height: 20px;
}
.tariffs p:last-child {
  justify-content: start;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--grey2);
}
.tariffs p span {
  font-weight: 600;
}
.tariffs p button {
  width: 100%;
  padding: 8px;
}
.statistic .count-stats {
  width: calc(100vw - 660px);
}
.statistic .count-stats h3 {
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.statistic .count-stats .linear {
  width: calc(100vw - 660px);
  margin: -8px;
  margin-top: 12px;
  padding: 8px;
  position: absolute;
  border-radius: 8px;
  transition-duration: 0.5s;
  overflow: hidden;
  height: 12px;
}
.statistic .count-stats .linear:hover {
  background: #fff1f1;
  height: 60px;
}
.linear .line-operations {
  height: 12px;
  background: #dbd9d9;
  border-radius: 4px;
}
.linear .line-operations#lineUsed {
  background: var(--yellow);
  width: 0%;
}
.linear .line-operations#lineTariff {
  background: var(--blue2);
  width: 0%;
}
.linear p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition-duration: 0.5s;
  padding-top: 4px;
}
.linear:hover p {
  opacity: 1 !important;
}
.linear p span {
  display: flex;
  align-items: center;
}
.linear p .dots {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
}
.dots.blue {
  background: var(--blue2);
}
.dots.yellow {
  background: var(--yellow);
}
.statistic .graphs {
  margin-top: 60px;
}

/* settings */

.formInputs {
  display: flex;
  gap: 36px;
  margin: 28px 20px;
}
.projectImage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.logoPreview {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logoPreview img {
  width: 60%;
  height: 60%;
  object-fit: cover;
}
.projectLogo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.logoBackground,
.logoIcon {
  display: flex;
  gap: 8px;
  position: relative;
  margin-top: 20px;
}
.logoBackground label,
.logoIcon label {
  position: absolute;
  top: -20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  color: var(--black2);
}
.backgroundSelector,
.iconSelector {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #ecf6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.backgroundSelector.select,
.iconSelector.select {
  border: 1px solid var(--blue1);
}
.backgroundSelector.blue,
.logoPreview.blue,
.project-photo.blue {
  background-color: #ecf6ff;
}
.backgroundSelector.biege,
.logoPreview.biege,
.project-photo.biege {
  background-color: #ffecec;
}
.backgroundSelector.pink,
.logoPreview.pink,
.project-photo.pink {
  background-color: #fdecff;
}
.backgroundSelector.green,
.logoPreview.green,
.project-photo.green {
  background-color: #ecffec;
}
.backgroundSelector.yellow,
.logoPreview.yellow,
.project-photo.yellow {
  background-color: #fffaec;
}
.iconSelector img {
  width: 26px;
  height: 26px;
  object-fit: cover;
}
.projectDetalis {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 400px;
  justify-content: space-between;
}

/* settings billing */

/* settings notification */

.notif-header {
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tg-button {
  background: var(--blue1);
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  margin-left: 16px;
  border-radius: 8px;
  font-size: 12px;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
  width: calc(100% - 40px);
  margin: 0 20px;
}
table tr {
  border-bottom: 1px solid var(--shadow);
}
table td,
table th {
  height: 52px;
  text-align: start;
}
.switch,
.deleted {
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
}
.deleted svg {
  fill: var(--red1);
}
.switch svg {
  width: 24px;
  height: 24px;
}
.switch[data-state="0"] {
  fill: var(--grey2);
  transform: rotate(180deg);
}
.switch[data-state="1"] {
  fill: var(--green1);
  transform: rotate(0);
}
.api.field {
  margin: 28px 20px;
  max-width: 846px;
  position: relative;
}
/* .copyField {
  padding: 8px 12px;
  display: flex;
  padding: 14px;
  font-size: 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  color: var(--black1);
  border: 1px solid var(--blue2);
  background: var(--white);
  outline: none;
} */
.copyBtn {
  background: none;
  outline: none;
  border: 0;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 32px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.copyBtn svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--blue1);
}
div:has(> #addPanel) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20px;
}
#addPanel {
  padding: 12px 32px;
}
.interfaces .accent-btn {
  padding: 9.5px 42px;
}
.interfaces table td:last-child {
  text-align: right;
}
