/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

/* img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
} */

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
	font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}
/* @font-face {
    font-family: 'ProbaPro';
    src: url('fonts/ProbaPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

@font-face {
    font-family: 'ZillaSlab';
    src: url('fonts/ZillaSlab-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
  
@font-face {
    font-family: 'ZillaSlab';
    src: url('fonts/ZillaSlab-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "Zilla Slab", serif;
    /* font-family: 'ProbaPro', sans-serif; */
    color: #000;
    font-size: clamp(16px, 2.5vw, 18px);
    letter-spacing: 0.02em;
    /* letter-spacing: 0.1em; */
}

img {
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

button {
    border: none;
    font-family: "Zilla Slab", serif;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

/* HEADER */
.header {
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
	right: 0;
	z-index: 1000;
}

.header-short {
    width: 100%;
    padding: 20px 0;
    position: relative;
}

/* Logo */
.logo img {
    height: clamp(40px, 5vw, 52px);
}

/* MENU-TOGGLE */
.logo-toggle {
    display: none;
}

/* NAV */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.nav_item {
    width: clamp(70px, 8vw, 100px);
    text-align: center;
    margin: 0 20px;
    cursor: pointer;
    font-size: clamp(16px, 2vw, 18px);
    color: #000;
    text-decoration: none;
}

.nav_item img {
    margin: 0 auto;
}

.nav_item:hover,
.logout:hover {
    text-decoration: underline;
}

.nav_item.active {
    text-decoration: underline;
}

/* MODAL */
.modal {
    display: none; 
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease forwards;
}

.modal-content {
    position: relative;
    margin: auto;
    transform: translateY(-50%);
    top: -50%;
    width: 40%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    animation: slideDown 0.5s ease forwards;
}

.modal.hide {
    animation: fadeOut 0.5s ease forwards;
}

.modal.hide .modal-content {
    animation: slideUp 0.5s ease forwards;
}

.modal_title {
    font-size: clamp(28px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close,
.authorizationСlose {
    font-size: clamp(18px, 2.5vw, 22px);
    cursor: pointer;
}

.modalForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #EFF2F4;
    border-radius: 10px;
}

.password {
    border: 2px solid #FFA965;
    
}

.modal-content .btn {
    border: none;
    align-self: baseline;
}

.modal_item {
    margin-top: 30px;
    cursor: pointer;
}

.modal_item:hover {
    text-decoration: underline;
}

.demo-login-links {
    display: flex;
    margin-top: 10px;
    gap: 10px;
}

.demo-btn {
    color: #FF7507;
    text-decoration: none;
    cursor: pointer;
}

.demo-btn:hover {
    text-decoration: underline;
}

/* INTRO */
.intro {
    display: flex;
	flex-direction: column;
	justify-content: center;
    width: 100%;
	height: 100vh;
    background: linear-gradient(217deg, rgba(255, 211, 7, 0.8), rgba(255, 211, 7, 0) 50.71%),
                linear-gradient(127deg, rgba(24, 77, 189, 0.8), rgba(24, 77, 189, 0) 70.71%),
                linear-gradient(336deg, rgba(251, 115, 7, 0.8), rgba(251, 115, 7, 0) 70.71%);
    background-size: 150vw 150vh;
    animation: 15s linear 0s infinite alternate none running granimate;
    text-align: center;
    min-height: 720px;
}

.intro-short {
    width: 100%;
	height: 390px;
    background: linear-gradient(217deg, rgba(255, 211, 7, 0.8), rgba(255, 211, 7, 0) 50.71%),
                linear-gradient(127deg, rgba(24, 77, 189, 0.8), rgba(24, 77, 189, 0) 70.71%),
                linear-gradient(336deg, rgba(251, 115, 7, 0.8), rgba(251, 115, 7, 0) 70.71%);
    background-size: 150vw 150vh;
    animation: 15s linear 0s infinite alternate none running granimate;
    padding: 115px 0 35px;
    position: relative;
    display: inherit;
}

.inner_intro {
    font-weight: 700;
}

.intro_suptitle {
    font-size: clamp(20px, 2.5vw, 35px);
}

.intro_title {
    font-size: clamp(30px, 4.5vw, 60px);
    margin: 30px 0;
}

.btn {
    display: inline-block;
    padding: 15px 50px;
    background-color: #092C76;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(16px, 2vw, 18px);
    transition: color .2s ease-in-out;
}

.btn:hover {
    background: linear-gradient(217deg, rgba(255, 211, 7, 0.8), rgba(255, 211, 7, 0) 50.71%),
                linear-gradient(127deg, rgba(24, 77, 189, 0.8), rgba(24, 77, 189, 0) 70.71%),
                linear-gradient(336deg, rgba(251, 115, 7, 0.8), rgba(251, 115, 7, 0) 70.71%);
    background-size: 200% 300%;
    color: #000;
    animation: 10s infinite granimate;
}

.breadcrumbs {
    position: absolute;
    bottom: 35px;
    display: flex;
    gap: 35px;
}

.breadcrumbs a {
    text-decoration: none;
    color: #000;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* SECTION */
.section {
    width: 100%;
    padding: 115px 0;
}

.section-short {
    padding: 60px 0;
}

/* Section-Title */
.section_title {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 50px;
}

.title_center {
    text-align: center;
}

/* Section-Content */
.inner_section,
.table-row {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 30px;
    flex-wrap: wrap;
}

.section_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section_item .btn {
    margin-top: 30px;
}

.section_content {
    max-width: 770px;
    text-align: justify;
}

/* Section-Gray */
.section_gray,
.second {
    background-color: #F6F6F6;
}

.section_gray .section_title {
    color: #29293A;
}

.section_gray .section_content {
    color: #5E5E63;
}

/* Section-Documents */
.btn_documents {
    color: #184DBD;
    font-weight: 700;
    text-decoration: none;
}

.section_gray .btn_documents {
    color: #3B66C3;
    font-weight: 700;
}

.btn_documents:hover {
    text-decoration: underline;
}

.btn_service {
    color: #000;
}

/* Stat */
.stats_section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    font-family: "Work Sans", serif;
}

#orderStatusChart {
    width: 100%;
    height: auto;
}

.stat {
    max-width: 270px;
}

.number {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: bold;
    color: #4007D1;
}
  
.description {
    margin-top: 10px;
}

/* NEW */
.new_item {
    width: 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 370px;
    gap: 30px;
}

.new_item img {
    width: 100%;
    max-width: 370px;
}

/* .new_content {
    margin: 30px 0;
} */

.new_title {
    margin-bottom: 10px;
}

.short_new_title {
    font-weight: 700;
}

.new_data {
    font-family: "Work Sans", serif;
    font-size: clamp(12px, 1.5vw, 14px);
    margin-bottom: 10px;
}

.new_data_section {
    margin-bottom: 50px;
}

.new_btn {
    margin-top: 30px;
}

/* MAP */
#map {
    width: 100%;
    height: 300px;
}

/* CARD */
.card_container {
    align-items: baseline;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 370px;
    padding: 95px 30px 30px;
    margin-top: 75px;
    border: 2px solid #EFF2F4;
    border-radius: 10px;
    position: relative;
    background-color: #fff;
}

.card_person {
    width: 570px;
    padding: 115px 90px 90px;
    margin-top: 115px;
}

.card_person:hover {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
}

.card_person:hover .circle-person {
    background: linear-gradient(217deg, rgba(255, 211, 7, 0.8), rgba(255, 211, 7, 0) 50.71%),
                linear-gradient(127deg, rgba(24, 77, 189, 0.8), rgba(24, 77, 189, 0) 70.71%),
                linear-gradient(336deg, rgba(251, 115, 7, 0.8), rgba(251, 115, 7, 0) 70.71%);
    background-size: 150% 150%;
    color: #000;
    animation: 10s infinite granimate;
}

.card-circle {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #EFF2F4;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    overflow: hidden;
}

.circle-person {
    width: 230px;
    height: 230px;
    top: -115px;
    font-size: 80px;
}

.card-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.card_title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    text-align: center;
}

.card_person .card_title {
    margin: 30px 0;
}

.card_job {
    color: #5E5E63;
    text-align: center;
}

.card_text {
    text-align: justify;
}

.card_link {
    color: #000;
    text-decoration: none;
}

.service_title {
    margin-bottom: 20px;
}

.card_service {
    margin: 10px 0;
    color: #000;
    text-decoration: none;
}

.card_service:hover {
    text-decoration: underline;
}

/* TABLE */
.table-row {
    font-family: "Work Sans", serif;
    justify-content: space-between;
    padding: 20px 0;
}

.table-col-2 {
    width: 770px;
}

/* FOOTER */
.footer {
    width: 100%;
    padding: 60px 0;
    background-color: #092C76;
    color: #fff;
    font-family: "Work Sans", serif;
}

.inner_footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.footer_item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 33.33333%;
    max-width: 370px;
}

.footer_images {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_title {
    font-size: clamp(18px, 2.5vw, 22px);
    margin: 15px 0;
}

.schedule {
    margin-top: 0;
}

.footer_copyright {
    padding:30px 0 0 0;
    text-align:center;
    color:#FFA965;
}/* Анимация затемнения фона */
@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

/* Анимация исчезновения фона */
@keyframes fadeOut {
    from {
        background-color: rgba(0, 0, 0, 0.5);
    }
    to {
        background-color: rgba(0, 0, 0, 0);
    }
}

/* Анимация появления окна */
@keyframes slideDown {
    from {
        top: -100vh;
    }
    to {
        top: 50%;
    }
}

/* Анимация закрытия окна */
@keyframes slideUp {
    from {
        top: 50%;
    }
    to {
        top: -100vh;
    }
}

/* Анимация фона интро && кнопок */
@keyframes granimate {
    0%, 100% { background-position: 0 25%; }
    25%, 75% { background-position: 50% 50%; }
    50% { background-position: 100% 100%; }
}/* HEADER */
.logout_container {
    display: flex;
    justify-content: flex-end;
}

.logout {
    font-size: clamp(16px, 2vw, 18px);
    text-align: right;
    color: #000;
    text-decoration: none;
}

/* Section */
.welcome {
    margin-bottom: 30px;
}
.section_subtitle {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 50px;
}

.user_email {
    
    font-size: clamp(16px, 2.5vw, 18px);
}

/* Calendar */
.calendar {
    width: 100%;
    max-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    table-layout: fixed;
    margin: 0 auto;
}

.calendar th,
.calendar td {
    padding: 10px;
    border: 1px solid #EFF2F4;
    text-align: center;
}

.calendar .workday {
    background-color: #f0f8ff;
    cursor: pointer;
}

.calendar .workday:hover {
    background-color: #d0eaff;
}

.calendar .weekend {
    background-color: #f8f8f8;
    color: #bbb;
}

.calendar .workday.disabled, 
.calendar .weekend.disabled {
    background-color: #f0f0f0 !important; /* Перекриваємо фоновий колір */
    color: #bbb !important; /* Перекриваємо колір тексту */
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calendar-navigation a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.calendar-navigation span {
    font-weight: bold;
}

.calendar td.active-day {
    background-color: #184DBD !important; /* Ваш колір */
    color: #fff !important;
    border-radius: 4px;
}
.calendar td.workday { cursor: pointer; }

/* SELECTION */
.calendar_container {
    align-items: center;
    margin-bottom: 50px;
}

.selection_container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.selection-block {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.select-label {
    margin: 15px 0;
    flex-shrink: 0;
}

select {
    flex-grow: 1;
    padding: 8px 20px;
    font-size: clamp(16px, 2vw, 18px);
    border: 1px solid #EFF2F4;
    border-radius: 10px;
    font-family: "Work Sans", serif;
    color: #5E5E63;
    background-color: #fff;
    appearance: auto; /* Повертаємо стандартну стрілочку */
    -webkit-appearance: auto; /* Для Safari */
    cursor: pointer;
}

/* Categories */
.selection-services {
    margin-bottom: 50px;
}

/* Стилі для контейнера категорії */
#serviceContainers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.category-container {
    display: flex;
    flex-direction: column;
    width: 370px;
}

.category-container label {
    font-size: clamp(18px, 2.5vw, 22px);
    margin-bottom: 30px;
    display: block;
    text-align: center;
}

.select-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.category-container .category-image {
    width: 70px;
    height: 70px;
    border-radius: 50%; 
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 3;
}

.category-container select {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 370px;
    height: 70px;
    padding: 8px 20px 8px 100px;
    font-size: clamp(16px, 2vw, 18px);
    border: 1px solid #EFF2F4;
    border-radius: 35px;
    font-family: "Work Sans", serif;
    color: #5E5E63;
    background-color: #fff;
    appearance: auto; /* Повертаємо стандартну стрілочку */
    -webkit-appearance: auto; /* Для Safari */
    cursor: pointer;
}

/* Documents */
.service-documents {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-documents div {
    width: 100%;
    max-width: 370px;
}

.service-documents div input {
    margin-right: 15px;
}

.form-btn {
    width: 100%;
}

/* Appointments */
.appointments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.appointment-card {
    width: 100%;
    max-width: 370px;
    padding: 30px 20px;
    border: 2px solid #EFF2F4;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.appointment_date {
    text-align: center;
    font-size: clamp(18px, 2.5vw, 22px);
    margin-bottom: 15px;
}

.time_type_container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    color: #5E5E63;
    justify-content: center;
}

.appointment-service {
    font-weight: 700;
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.appointment-documents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.appointment-status {
    font-weight: 700;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.status-process {
    color: #007bff;
}

.status-cancelled {
    color: #dc3545; 
}

.status-completed {
    color: #28a745;
}

.status-form {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-block input,
.search-block input {
    flex-grow: 1;
    padding: 8px 20px;
    font-size: clamp(16px, 2vw, 18px);
    border: 1px solid #EFF2F4;
    border-radius: 10px;
    font-family: "Work Sans", serif;
    color: #5E5E63;
    background-color: #fff;
}

.search_block {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Admin */
.admin-tabs {
    margin-top: 60px;
}

.admin-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-nav a {
    text-decoration: none;
    background-color: rgba(94, 94, 99, 0.15);
    color: #000;
    padding: 8px 16px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.admin-nav a:hover {
    text-decoration: underline;
}

.admin-nav a.active {
    background-color: rgba(239, 242, 244, 0.15);
}

/* Admin-Modal */
.modal_btn_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.search_container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.search-block {
    display: flex;
}

.search-block input,
.search-block select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-button {
    /* background-color: rgba(24, 77, 189, 0.15); */
    background-color: rgba(239, 242, 244, 0.5);
    color: #5E5E63;
    padding: 8px 20px;
    border-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    transition: background-color .2s;
}

.search-button:hover {
    background-color: #EFF2F4;
}/* Menu-Toggle */
.menu-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8.26px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8.26px) rotate(-45deg);
}

@media (max-width: 1200px) {
    .section_title {
        font-size: clamp(20px, 4vw, 35px);
        margin-bottom: 30px;
        text-align: center;
    }

    .section_subtitle {
        font-size: clamp(18px, 3vw, 30px);
        margin-bottom: 30px;
        text-align: center;
    }
    
    .calendar_container {
        margin-bottom: 30px;
    }

    .new_title_section {
        font-size: clamp(20px, 4vw, 35px);
        text-align: center;
    }

    .new_data_section {
        text-align: center;
    }

    .inner_section, .gray {
        align-items: center;
    }

    .inner_section.gray {
        flex-direction: column;
    }

    .new_data_section {
        margin-bottom: 30px;
    }

    .new_section {
        flex-direction: column-reverse;
    }

    .section_item {
        text-align: center;
        margin: 0 auto;
    }

    .documents_links {
        margin-top: 10px;
    }

    .section_item a {
        font-size: clamp(16px, 2vw, 18px);
    }

    .selection_container {
        width: 100%;
    }

    .search_container {
        margin-bottom: 30px;
    }
}

@media (max-width: 1180px) {
    .modal-content {
        width: 60%;
    }

    .new_item {
        flex: 1 1 calc(50% - 30px); 
    }
    
    .footer_item {
        flex: 1 1 100%; 
    }

    .footer_images {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 800px) {
    .modal-content {
        width: 80%;
    }
}

@media (max-width: 640px) {
    .modal-content {
        width: 100%;
        border-radius: 0;
    }

    .nav {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        z-index: 100;
    }

    .nav.open {
        max-height: 300px;
        opacity: 1;
    }

    .nav_item {
        width: 100%;
        text-align: left;
    }

    .nav_item.logo {
        display: none;
    }

    .logo-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left; 
        margin: 0;
        padding: 0 15px;
        cursor: pointer;
    }

    .logo-toggle img {
        height: clamp(40px, 5vw, 52px);
    }

    .nav_item:last-child {
        border-bottom: none;
    }

    .new_item {
        flex: 1 1 100%; 
        margin: 0 auto;
        text-align: center;
    }

    .new_image {
        width: 100%; 
        height: auto;
    }

    .card_person {
        width: 100%;
        padding: 75px 60px 60px;
        margin-top: 75px;
    }

    .circle-person {
        width: 150px;
        height: 150px;
        font-size: 50px;
        top: -75px;
    }
}

@media (max-width: 400px) {
    .modal-content {
        padding: 10px;
    }

    .close,
    .authorizationСlose {
        top: 10px;
        right: 10px;
    }

    .card {
        width: 100%;
    }

    .card_person {
        width: 100%;
        padding: 75px 30px 30px;
        margin-top: 75px;
    }

    .circle-person {
        width: 150px;
        height: 150px;
        font-size: 50px;
        top: -75px;
    }

    .section img {
        width: 100%;
        height: auto;
    }

    .card-circle img {
        width: 100%;
        height: 100%;
    }
    
    .selection-block {
        flex-direction: column;
    }

    .category-container .category-image {
        width: 60px;
        height: 60px;
    }

    .category-container select {
        height: 60px;
        padding: 8px 18px 8px 90px;
    }

}
