/* inter-regular - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v19-cyrillic-ext_latin-ext-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v19-cyrillic-ext_latin-ext-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v19-cyrillic-ext_latin-ext-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - cyrillic-ext_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v19-cyrillic-ext_latin-ext-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}



html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-y: scroll;
  height: 100%;
  margin: 0;
}


body {
  margin: 0;
  font-family: "Inter", 'sans-serif';
  font-size: 16px;
  font-weight: 400;
  color: #333;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  height: 100%;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
.h1 {
  font-size: 26px;
  font-weight: 500;
}

h2,
.h2 {
  font-size: 20px;
  font-weight: 500;
}

h3,
.h3 {
  font-size: 18px;
  font-weight: 500;
}




form {
  margin: 0;
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}


/* general */

input,
textarea,
select {
  max-width: 100%;
  min-width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 100%;
  padding: 5px;
  border-radius: 4px;
  color: #333;
}


.form__group {
  margin: 10px 0;
}

.form__input {
  border: 1px solid #291c0e;
}

.d-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.flex-inline {
  flex: 0 1 150px;
}


.btn {
  padding: 10px 20px;
  border-radius: 4px;
  color: #fff;
  background-color: #3775dd;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}


.auth_container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.auth_form {
  width: 100%;
  max-width: 500px; /* Увеличил ширину для формы с бок о бок */
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.main_page {
  flex: 1;
  margin-bottom: 50px;
}

/* main-navigation */
.header__page {
  padding: 10px 0;
  border-bottom: 1px solid #EFF6FC;
  margin-bottom: 50px;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.main_navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.menu_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.menu_item {
  text-decoration: none;

}

.menu_link {
  color: #a78d78;
  text-decoration: none;
  white-space: nowrap;
}

.login-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.navigation_link {
  text-decoration: none;
}

.navigation_item.enter {
  margin-left: auto;
}

.navigation_link:hover, .navigation_link.active{
  color: #e1d4c2;

}

.navigation_link:active {
  color: #beb5a9;
  
}

.orange {
  color: #e4860b;
}

.red {
  color: #cc1313;
}




.footer_page {
  border-top: 1px solid #EFF6FC;
  padding: 25px 0;
}



.accounts_card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
  padding: 20px;
}

.accounts_item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 16px;
  overflow: hidden;
  width: calc((100% - 20px * (3 - 1)) / 3);  
  border: 1px solid #e0e0e0;
}

.card_header {
  background: linear-gradient(135deg, #4e5253, #28343f);
  color: white;
  padding: 16px 20px;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

.card_body {
  padding: 20px;

  /* gap: 12px;  */
}

.card_body > div {

  padding: 10px 12px;
  border-radius: 8px;
}

.card_body > div:hover {
  background: #e9ecef;
}

.card_body > div span {
  font-weight: 700;
  color: #555;
  min-width: 120px;
  font-size: 0.95rem;
  margin-right: 10px;
} 

 .card_body > div:last-child span {
  color: #8e44ad;
} 

/* Стили аккордеона */

.accordion {
  background: #fff;
  border: 1px solid #eee;
}

.accordion_header {
  background-color: #F4F4F6;
  padding: 15px;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
  color:#282b3d;
}

.accordion_header::after {
  content: '+';
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.accordion_header.active::after {
  content: '−';
  
}

.accordion_content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Цветовые акценты */
.card_body > div:nth-child(1) {
  border-left: 4px solid #3498db;
}

.card_body > div:nth-child(2) {
  border-left: 4px solid #2ecc71;
}

.card_body > div:nth-child(3) {
  border-left: 4px solid #e74c3c;
}

.card_body > div:nth-child(4) {
  border-left: 4px solid #f39c12;
}

.card_body > div:nth-child(5) {
  border-left: 4px solid #9b59b6;
}

.card_body > div:nth-child(6) {
  border-left: 4px solid #1abc9c;
}



.password_value {
  font-family: monospace;
  /* min-width: 120px; */
  

}

.password_toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
}

.password_toggle:active {
  transform: scale(0.95);
}

.password_value {
  font-family: monospace;
  min-width: 120px;
  transition: opacity 0.2s ease;
}

.password_value.fade-out {
  opacity: 0.3;
}

.login_value {
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: monospace;
  text-align: right;
}

.login_value:hover {
  opacity: 0.8;
}


@media (max-width: 992px) {
  .accounts_item {
    width: calc((100% - 20px * (2 - 1)) / 2);  

  }
}

@media (max-width: 768px) {
  /* .accounts_item {
    width: calc((100% - 20px * (2 - 1)) / 2);  

  } */
  .accounts_card {
    display: block;
    
  }

  .accounts_item {
    width: 100%;
    margin-bottom: 20px;
  }
  .card_body {
    display: block;
  }
  .card_body > div {
    display: block;
  }
}

@media (max-width: 576px) {

}

