/*!
Theme Name: Theme EastAutoTrade
Author: EastAutoTrade
Version: 1.0.0
*/ 

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/ubuntu-v21-cyrillic_latin-regular.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/ubuntu-v21-cyrillic_latin-700.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
    --bg-primary: #1e1e1e;
    --bg-secondary: #252526;
    --bg-tertiary: #2d2d30;
    --bg-active: #37373d;
    --bg-hover: #2a2d2e;
    
    --text-primary: #1e1e1e;
    --text-secondary: #9e9e9e;
    --text-muted: #6e6e6e;
    --text-white: #ffffff;
    
    --accent-blue: #569cd6;
    --accent-green: #4ec9b0;
    --accent-orange: #ce9178;
    --accent-yellow: #dcdcaa;
    --accent-purple: #c586c0;
    --accent-red: #f44747;
    --accent-cyan: #9cdcfe;
    
    --border-color: #3e3e42;
    --border-light: #474747;
    
    --font-sans: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif; 
    
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, li {
    list-style: none;
}

button,
input[type="submit"],
input[type="reset"],
input[type="button"],
[role="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  font: var(--font-sans);
  color: inherit;
}

body {
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

input, textarea, select {
  font: inherit;
}

*::-webkit-scrollbar {
    -webkit-appearance: none;
    cursor: default;
}

*::-webkit-scrollbar:vertical {
    width: 4px;
    cursor: default;
}

*::-webkit-scrollbar:horizontal {
    height: 4px;
    cursor: default;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    cursor: default;
}

*::-webkit-scrollbar-track {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    background-color: #EFEFEF;
    cursor: default;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) #EFEFEF;
}

.container {
    max-width: 1340px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    position: relative;
}

.btn { 
    align-items: center;
    justify-content: center;
    color: #FFF;
    background: linear-gradient(90deg, #F5A623 -58.68%, #E94B35 100%); 
    border-radius: 6px;
    height: 40px; 
    font-size: 16px;
    display: inline-flex;
    padding:  0 30px;  
    cursor: pointer;
    font-weight: 400;
    transition: all .3s;
    border: 0;
    font-family: var(--main-font);
}

.btn--block {
    display: flex; 
    width: 100%;
}
.btn-border { 
    background: linear-gradient(90deg, rgba(245, 166, 35, 0.1) -58.68%, rgba(233, 75, 53, 0.1) 100%);
    color: #E94B35;
    border: 1px solid #E94B36; 
}

.btn:hover {
    background: linear-gradient(90deg, #E94B35 -58.68%,  #F5A623 100%); 
    color: #fff;
}

p {
    margin-bottom: 25px;
}

.breadcrumbs {
    padding: 100px 0 40px;
    font-size: 14px;
    color: #333;
}
.breadcrumbs2 {
    font-size: 14px;
    color: rgb(255 255 255 / 67%);
}
.breadcrumbs2 .separator path { 
    stroke: rgb(255 255 255 / 67%);
}

.breadcrumbs svg,
.breadcrumbs2 svg {
    display: block;
}

.breadcrumbs .container,
.breadcrumbs2 .container {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

body {
    font-family: var(--font-sans);   
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    background: #E9EEF4;
}

header {
    position: absolute;
    top: 0;
    width: 100%; 
    z-index: 1;
    padding-top: 30px;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 140px;
}
 
.header-navigation__list li a {
    color: #000;
}
 
.home .header-navigation__list li a,
.archive .header-navigation__list li a {
    color: #fff;
}

.header-navigation__list   {
    display: flex;
    gap: 20px;
}

.header-links {
    margin-left: auto;
    display: flex;
    gap: 10px; 
}

.header-links .btn {
    height: 32px;
}

.header__burger {
    display: none;
}

.header-links-mess a {
    background: linear-gradient(90deg, #F5A623 -131.25%, #E94B35 579.69%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 5px;
    transition: all .3s;
}

.header-links-mess { 
    display: flex;
    gap: 10px; 
}
/* Каталог */

.main-catalog {
    position: relative;
    overflow: hidden;
    padding: 220px 0 240px;
    border-radius: 0 0 30px 30px;
}

.main-catalog-bg {
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.catalog-title {
    font-size: 80px;
    font-weight: 700;
    margin-bottom:  0px;
    color: #E9EEF4;
    position: relative;
    z-index: 1;
}

.che168-catalog {
    padding: 0 0 40px;
    margin-top: -200px;
}


/* Выпадающие списки для объёма двигателя */
 

.range-selects {
    display: flex;
    gap: 10px;
}

.range-selects select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.range-selects select:hover {
    border-color: #3498db;
}

.range-selects select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .range-selects {
        flex-direction: column;
    }
    
    .range-selects select {
        width: 100%;
    }
}
/* Выпадающие списки для пробега */
 

.filter-field-mileage .range-selects {
    display: flex;
    gap: 10px;
}

.filter-field-mileage .range-selects select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-field-mileage .range-selects select:hover {
    border-color: #3498db;
}

.filter-field-mileage .range-selects select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .filter-field-mileage .range-selects {
        flex-direction: column;
    }
    
    .filter-field-mileage .range-selects select {
        width: 100%;
    }
}

/* Формы */

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form__field {
    font-size: 20px; 
    height: 60px;
    width: 100%; 
    padding: 0 25px;
    color: #000;
    background: #FFFFFF;
    border: 1px solid #C9C6CE;
    border-radius: 20px;  
    outline: none;
}
 
textarea.form__field {
    resize: vertical;
    min-height: 80px;      
    padding: 25px;
}

.form__field:focus, .form__field:hover {
    border-color: var(--main-color)
}

::-webkit-input-placeholder {color: #C9C6CE;}
::-moz-placeholder          {color: #C9C6CE;}
:-moz-placeholder           {color: #C9C6CE;}
:-ms-input-placeholder      {color: #C9C6CE;}

.checkbox-label .checkbox-note {
    display: block;
    position: relative;
    padding-left: 38px;
    color: #696C78;
    font-size: 14px;
    line-height: 1.2;
}

.checkbox-label .checkbox-note a {  
    transition: all .3s;
    text-decoration: underline;
}

.form-check .checkbox-note a:hover {  
    text-decoration: none;
}

.checkbox-label .form-check-input {
    position: absolute;
    opacity: 0;
}

.checkbox-label .checkbox-note::before, .checkbox-label .checkbox-note::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transition: 0.15s ease-in-out;
    cursor: pointer;
    transform: translateY(-50%);
}

.checkbox-label .checkbox-note:before {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid var(--main-color);
    border-radius: 8px;
}

.form-check-input[type=checkbox] + .checkbox-note:after {
    width: 12px;
    height: 7px;
    margin: -3px 0 0 9px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 0 3px 3px;
    opacity: 0;
    transform: rotate(-45deg) translateY(-50%);
}

.form-check-input:checked + .checkbox-note:after {
    opacity: 1;
}

.form-check-input.error + .checkbox-note::before {
    border-color: red;
}

.form-check-input.error + .checkbox-note {
    color: red;
}

.form-check-input:checked + .checkbox-note::before {
    border: 1px solid var(--main-color);
    background: var(--main-color);
}
 
/* Forms Errors */

input.error,
textarea.error {
    border-color: red!important;
}

input.success,
textarea.success {
    border-color: green;
}

.error-note {
    color: red; 
    font-size: 12px; 
    margin-top: 5px; 
    display: none;
}

input.error ~ .error-note {
    display: block;
}

.zero-field,
.form-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}


/* Прочие */

.form-box {
    max-width: 450px;
    padding-top: var(--padding-bottom-section);
}

.form-box h2{
    margin-bottom: 25px;
}

 
/* Каталог */

.car-single,
.page-content,
.registration-page {
    padding:  0px 0 40px;
}

 

.car-single-row {
    display: grid;
    grid-template-columns: 722px 1fr;
    gap: 50px;
    background: radial-gradient(55.69% 106.28% at 59.19% -6.28%, rgba(26, 95, 228, 0.2) 0%, #E9EEF4 78.69%), linear-gradient(0deg, #E9EEF4, #E9EEF4), linear-gradient(68.22deg, #FFFFFF 32.38%, #E9EEF4 45.06%);
    box-shadow: 0px -1px 8px 0px #001D3F1A;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}
  

.gallery-main-swiper {
    border-radius: 8px;
    overflow: hidden; 
    aspect-ratio: 4 / 3;
}

.gallery-main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center; 
}

.gallery-main-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Кнопки навигации */
.gallery-main-swiper .swiper-button-prev,
.gallery-main-swiper .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -20px;
    transition: background 0.2s;
}

.gallery-main-swiper .swiper-button-prev:hover,
.gallery-main-swiper .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-main-swiper .swiper-button-prev::after,
.gallery-main-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}
 
.gallery-main-swiper .swiper-pagination {
    bottom: 10px;
}

.gallery-main-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 8px;
    height: 8px;
}

.gallery-main-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #e74c3c;
}

/* Миниатюры */
.gallery-thumbs-swiper {
    margin-top: 10px;
}

.gallery-thumbs-swiper .swiper-slide {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
}

.gallery-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #e74c3c;
}

.gallery-thumbs-swiper .swiper-slide:hover {
    opacity: 1;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
    .gallery-main-swiper .swiper-button-prev,
    .gallery-main-swiper .swiper-button-next {
        width: 32px;
        height: 32px;
        margin-top: -16px;
    }
    
    .gallery-main-swiper .swiper-button-prev::after,
    .gallery-main-swiper .swiper-button-next::after {
        font-size: 14px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.details-section {
    background: #ffffff; 
    border-radius: 10px;
    padding: 20px; 
    overflow: hidden;
    margin-bottom: 25px;
}

.details-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #111827;
}

.specs-grid {
    display: block;
}

.specs-grid-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

/* Чередование фона строк */
.specs-grid-row:nth-child(even) {
    background-color: #f9fafb;
}

.specs-grid-row:hover {
    background-color: #eff6ff;
}

/* Убираем нижнюю границу у последней строки */
.specs-grid-row:last-child {
    border-bottom: none;
}

.specs-grid-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.specs-grid-value {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    word-break: break-word;
}

/* Адаптив для мобильных */
@media (max-width: 640px) {
    .specs-grid-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px;
    }
    
    .specs-grid-label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}
 
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.car-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-image {
    width: 100%;
    /* height: 220px; */
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-info {
    padding: 20px;
}

.car-title {
    font-size: 18px;
    font-weight: 600; 
    line-height: 1.3;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.car-price {
    font-size: 32px;
    font-weight: 600;
    color: #001D3F; 
    text-align: right;
    margin-top: auto;
}

.car-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; 
    line-height: 1;
    font-size: 12px;
}

.car-line span:first-child {
    font-weight: 600;
}

.car-line span + span {
    text-align: right;
}

.car-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    flex-grow: 1;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #7f8c8d;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 6px;
}

.spec-icon {
    font-size: 14px;
}

.car-link {  
    font-size: 14px;
}

.screen-reader-text {
    display: none;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

span.page-numbers.dots {
    pointer-events: none;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: linear-gradient(90deg, #F5A623 -58.68%, #E94B35 100%);
    color: white; 
}

.no-cars {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 18px;
}

/* Детальная страница */
  
 
.car-price-main {
    font-size: 36px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 30px;
}
 
.car-details h1 { 
    color: #001D3F;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 30px;
}

.car-spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px 20px;
}

.spec-row {
    display: flex;
    flex-direction: column;
    border-radius: 10px; 
    background: linear-gradient(90deg, rgba(245, 166, 35, 0.1) -58.68%, rgba(233, 75, 53, 0.1) 100%);
    
}

.spec-value {
    color: #333333;
    font-size: 16px; 
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    flex: 1;
    line-height: 1;
}

.spec-label {
    color: #333333;
    font-size: 14px;   
    padding: 3px 12px;
}

.car-details-note {
    padding: 20px 0;
    line-height: 1;
    font-size: 14px;
}


 

.details-section:last-child {
    border-bottom: none;
}

.details-section h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.specs-grid {
    display: grid; 
}



.spec-row:last-child {
    border-bottom: none;
}



 

/* Кнопки контактов */
.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

 

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20ba5a;
}

.btn-wechat {
    background: #07c160;
    color: white;
}

.btn-wechat:hover {
    background: #06ad56;
}

.btn-source {
    background: #3498db;
    color: white;
}

.btn-source:hover {
    background: #2980b9;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .car-single {
        padding: 20px;
    }
    
    .car-single .car-title {
        font-size: 24px;
    }
    
    .car-price-main {
        font-size: 28px;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .thumb {
        width: 80px;
        height: 60px;
    }
    
    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

/* ========================================
   Фильтр каталога
   ======================================== */

.car-filter-form {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.filter-field {
    background: #D9D9D9;
    border-radius: 10px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
 

.filter-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333333; 
    padding: 5px 15px;
}

.filter-field select,
.filter-field input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    height: 44px;
    transition: border-color 0.2s;
}

.filter-field select:focus,
.filter-field input[type="number"]:focus {
    outline: none;
    border-color: #3498db;
}

.filter-field-range .range-inputs {
    display: flex;
    gap: 8px;
}

.filter-field-range .range-inputs select,
.filter-field-range .range-inputs input {
    flex: 1;
    min-width: 0;
}

.filter-actions {
    display: flex;
    gap: 12px;
    padding-top: 15px; 
    justify-content: end;
} 

.cars-count {
    margin-bottom: 20px;
    font-size: 15px;
    color: #7f8c8d;
}

.cars-count strong {
    color: #2c3e50;
    font-size: 18px;
}

.no-cars {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.no-cars p {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* Адаптивность фильтра */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .car-filter-form {
        padding: 15px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn-filter-apply,
    .btn-filter-reset {
        width: 100%;
    }
}

/* Страница регистрации */
.registration-page {
    padding: 0 0 40px;
}

.registration-page .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.registration-page h1 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.registration-page .form-group {
    margin-bottom: 20px;
}

.registration-page label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.registration-page input[type="text"],
.registration-page input[type="email"],
.registration-page input[type="tel"],
.registration-page input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
 

 
 

.registration-page .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.registration-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.registration-success {
    background: #d4edda;
    color: #155724;
    padding: 30px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    text-align: center;
}

.registration-success h2 {
    margin-top: 0;
    color: #155724;
}

@media (max-width: 768px) {
    .registration-page {
        padding: 20px 0;
    }
}

/* Личный кабинет */
.lk-page {
    padding: 0 0 40px;
}

.lk-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.lk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.lk-header h1 {
    margin: 0;
    color: #333;
    font-size: 32px;
}

.lk-content {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lk-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.lk-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lk-section h3 {
    margin: 0 0 20px 0;
    color: #0073aa;
    font-size: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.info-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.info-value {
    display: block;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.lk-placeholder {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.registration-success {
    background: #d4edda;
    color: #155724;
    padding: 30px;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.registration-success h2 {
    margin-top: 0;
    color: #E94B35;
} 

@media (max-width: 768px) {
     
    .lk-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .lk-header h1 {
        font-size: 24px;
    }
    
    .lk-content {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Страница входа */
.login-page {
    padding: 40px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.login-page .container {
    max-width: 450px;
    margin: 0 auto;
    padding: 0 20px;
}

.login-page h1 {
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    font-size: 28px;
}

.login-page .form-group {
    margin-bottom: 20px;
}

.login-page label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.login-page input[type="text"],
.login-page input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.login-page input:focus {
    border-color: #0073aa;
    outline: none;
}

.login-page .form-checkbox {
    margin-bottom: 25px;
}

.login-page .form-checkbox label {
    display: inline;
    font-weight: normal;
    cursor: pointer;
    user-select: none;
}

.login-page .form-checkbox input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

 

.login-page .btn {
    width: 100%;
}

.login-page .form-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.login-page .form-links a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}

.login-page .form-links a:hover {
    color: #005a87;
    text-decoration: underline;
}

.login-page .separator {
    margin: 0 10px;
    color: #999;
}

.login-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .login-page {
        padding: 20px 0;
    }
    
    .login-page h1 {
        font-size: 24px;
    }
}

footer {
    padding: 100px 0 30px;
}

.footer__logo {
    display: flex;
    flex-direction: column;
    row-gap: 20px; 
}

.footer__polit {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgb(0 0 0 / 15%);
    padding: 0 0 30px;
    margin-bottom: 20px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    background: linear-gradient(90deg, #F5A623 -131.25%, #E94B35 579.69%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 5px;
    transition: all .3s;
}

.footer-navigation {
    display: flex;
    gap: 20px;
    justify-content: end;
}