.lk-main * {
	font-family: "Arial", sans-serif;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
	padding: 0;
	color: #000;
	line-height: 120%;
}
.lk-main {
/*     max-width: 1215px;
margin-left: auto; */
}
.company-top-area .box:first-of-type {
	display: flex;
	gap: 12px;
	align-items: center;
}
.freshka-image {
	width: 38px;
	height: 38px;
	background: url(../img/robot.png) 0 0 no-repeat;
}
.title {
	font-weight: 900;
	font-size: 16px;
}
.freshka-name {
	max-width: 244px;
}
.company-block {
	background-color: #FFFBE7;
	padding: 16px 16px;
	box-sizing: border-box;
	border-radius: 8px;
}
.company-top-area {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #E1E1E1;
	padding-bottom: 14px;
	box-sizing: border-box;
	position: relative;
	z-index: 50;
}
.custom-select {
	position: relative;
	cursor: pointer;
}
.inn {
	color: #666;
	text-align: right;
}
.company-top-area .box:last-of-type {
	position: relative;
}
.company-name-block {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content: space-between;
	margin-bottom: 8px;
	cursor: pointer;
}
.company-name-block svg {
	transition: linear all .3s;
}
.company-name-block.active svg {
	transform: rotate(180deg);
}
.company-name-block p {
	font-weight: 700;
}
.menu-exit {
	padding: 0;
	display: none;
	position: absolute;
	right: 0;
	top: 20px;
}
.menu-exit li {
	list-style: none;
	padding: 12px;
	display: flex;
	gap: 4px;
	cursor: pointer;
	border-radius: 8px;
	background-color: #F4F5F8;
	color: #E90518;
	width: max-content;
}
.menu-exit li:hover {
	background-color: #E0E1E4;
}
.menu-exit .icon-exit {
	background: url('../img/logout.svg') center center no-repeat;
	width: 18px;
	height: 18px;
}

/* Кнопки профиля и выхода в топ-блоке ЛК (иконки 16px) */
.top-user {
	display: flex;
	gap: 8px;
	margin-bottom: 5px;
	justify-content: flex-end;
	margin-top: 5px;
}
.top-user-btn {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F4F5F8;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.top-user-btn:hover {
	background: #E0E1E4;
}
.top-user-btn img {
	width: 16px;
	height: 16px;
	display: block;
}
.company-select {
	margin-bottom: 4px;
}
.custom-select .select-list {
	display: none;
	position: absolute;
	left: auto;
	right: 0;
	top: 20px;
	width: max-content;
	z-index: 50;
}
.select-list {
	background-color: #fff;
	border-radius: 8px;
	padding: 10px;
	box-sizing: border-box;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
}
.select-list .option {
	list-style: none;
	cursor: pointer;
	padding: 5px;
	box-sizing: border-box;
}
.select-list .option:hover {
	color: red;
}
.selected {
	color: red;
}
.selected-area {
	font-weight: 900;
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
}
.selected-name {
	font-weight: 900;
}
.custom-select.active .arrow {
	transform: rotate(180deg);
}
.btn-red {
	background-color: #FF0000;
	width: max-content;
	padding: 13px 12px;
	box-sizing: border-box;
	border-radius: 8px;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	cursor: pointer;
	border: none;
}
.company-bottom-area {
	padding-top: 22px;
	box-sizing: border-box;
	position: relative;
	z-index: 10;
}
.company-bottom-area .flex-block {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.we-here {
	max-width: 699px;
	width: 100%;
}
.we-here .title {
	margin-bottom: 8px;
}
.box.subscriptions-block {
	max-width: 787px;
	width: 100%;
	overflow: hidden;
}
.support-options {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-color: #FFDE41;
	padding: 16px 0px;
	box-sizing: border-box;
	border-radius: 8px;
	position: relative;
	max-width: 787px;
	width: 100%;
}
.support-options .title {
	width: 100%;
	margin-bottom: 18px;
	text-align: center;
}
.support-options .links {
	width: 100%;
	max-width: 455px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
}
.support-options > * {
	position: relative;
	z-index: 2;
}
.support-options .links a {
	background-color: #FFF7D1;
	padding: 7.5px 12px;
	box-sizing: border-box;
	border-radius: 100px;
	text-decoration: none;
	color: #000;
}
.support-options .image-c {
	position: absolute;
	left: 56px;
	top: 0;
	z-index: 0 !important;
	height: 100%;
}
.messages-subscriptions-block {
	display: flex;
	justify-content: space-between;
	margin-top: 32px;
	box-sizing: border-box;
	gap: 16px;
}
.messages-subscriptions-block .title {
	font-size: 22px;
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 8px;
}
.box.messages {
	max-width: 699px;
	width: 100%;
}
.box.subscriptions {
	max-width: 500px;
	width: 100%;
}
.messages-table {
	border: 1px solid #ccc;
	border-radius: 8px;
	overflow: hidden;
	padding: 0px 16.5px;
	box-sizing: border-box;
	margin-top: 16px;
	position: relative;
}
.messages-table .flex-row {
	display: flex;
	border-bottom: 1px solid #ccc;
	padding: 17px 0;
	box-sizing: border-box;
}
.messages-table .flex-row:last-of-type {
	border-bottom: none;
}
.messages-table .head-row p {
	color: #8A8990;
}
.messages-table .head-row p:first-of-type {
	display: flex;
	align-items: center;
	gap: 7px;
}
.messages-table .flex-row p {
	width: max-content;
	font-size: 16px;
}
.messages-table .flex-row p:nth-child(1) {
	width: 50%;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.messages-table .flex-row p:nth-child(2) {
	width: 15%;
	margin-left: auto;
}
.messages-table .flex-row p:nth-child(3) {
	width: 30%;
	text-align: right;
}
.messages-table .flex-row .status.work {
	color: #FF6E00;
}
.messages-table .flex-row .status.closed {
	color: #0A8522;
}
.hidden-message {
	display: none !important;
}
.show-more-messages {
	display: flex;
	justify-content: center;
	padding: 17px 0;
}
.show-more-messages .btn {
	cursor: pointer;
}
.items-empty {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	/*display: none;*/
}
.items-empty .image {
	width: 46px;
	height: 46px;
	background: url("../img/table-empty.svg") 0 0 no-repeat;
	margin-top: 60px;
}
.items-empty .text {
	color: #8A8990;
	font-size: 14px;
	max-width: 222px;
	text-align: center;
	margin-top: 12px;
	margin-bottom: 80px;
}
.subscriptions-block .subscriptions-inner {
	background-color: #F4F5F8;
	padding: 16px;
	box-sizing: border-box;
	border-radius: 8px;
	margin-top: 16px;
}
.subscriptions-block .subscriptions-top {
	padding: 0 0 16px 0;
	box-sizing: border-box;
	border-bottom: 1px solid #D2D2D2;
}
.subscriptions-block .subscriptions-top span {
	font-size: 14px;
	color: #8A8990;
	display: block;
	margin-bottom: 8px;
}
.subscriptions-block .subscriptions-top h3 {
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 8px;
}
.subscriptions-block .subscriptions-top .subscriptions-date {
	font-size: 20px;
	color: #A9A9AE;
	font-weight: bold;
}
.subscriptions-block .subscriptions-list {
	padding: 16px 0 0 0;
	box-sizing: border-box;
}
.subscriptions-block .subscriptions-list .row {
	margin-bottom: 12px;
	display: flex;
	justify-content: space-between;
}
.subscriptions-block .subscriptions-list .row:first-of-type {
	font-size: 14px;
	color: #8A8990;
}
.subscriptions-block .subscriptions-list .row p {
	width: 70%;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
}
.subscriptions-block .subscriptions-list .row:last-of-type {
	margin-bottom: 0px;
}
.subscriptions-block .subscriptions-list .row .inner-date {
	font-size: 18px;
	color: #A9A9AE;
}
.btn {
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn.btn-yellow {
	background-color: #FFDC00;
	font-size: 16px;
	font-weight: 700;
	width: 100%;
	padding: 17px 0;
	text-align: center;
	border-radius: 8px;
	cursor: pointer;
}
.btn.btn-yellow.btn-yellow-border {
	background-color: #fff;
	border: 3px solid #FFDC00;
	text-decoration: none;
	color: black;
}
.choose-subscription .choose-subscription-btn {
	margin-top: 16px;
}
.choose-subscription p {
	margin-top: 16px;
	font-size: 16px;
}
.popup-custom {
	position: fixed;
	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	background-color: #fff;
	max-width: 980px;
	width: 100%;
	min-height: 300px;
	z-index: 99;
	padding: 12px;
	box-sizing: border-box;
	box-shadow: 4px 4px 15px 0px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(153, 153, 153, 1);
	display: none;
}
.popup-custom * {
	font-family: "Arial", sans-serif;
}
.top-popup-panel {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top-popup-panel .popup-name {
	font-size: 20px;
	font-weight: 400;
}
.control-popup {
	display: flex;
	gap: 16px;
}
.control-popup .dots {
	width: 16px;
	height: 16px;
	background: url("../img/icon-tree-dots.svg") 0 0 no-repeat;
	cursor: pointer;
}
.control-popup .close {
	width: 16px;
	height: 16px;
	background: url("../img/icon-cross.svg") 0 0 no-repeat;
	cursor: pointer;
}
.subscriptions {
	display: flex;
	justify-content: space-between;
}
.subscriptions * {
	margin: 0;
}
.subscriptions .box {
	border: 1px solid #999999;
	border-radius: 16px;
	padding: 16px;
	box-sizing: border-box;
	width: calc(100% / 2 - 12px);
	display: flex;
	flex-direction: column;
}
.subscriptions .title {
	border-bottom: 1px solid #999999;
	padding-bottom: 12px;
	box-sizing: border-box;
	font-weight: 700;
}
.list-subscriptions {
	padding-left: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
	margin-bottom: 24px;
}
.list-subscriptions li {
	font-size: 12px;
	line-height: 120%;
	position: relative;
}
.list-subscriptions li:before {
	content: '';
	background: url("../img/icon-checkmark-circle.svg") center center no-repeat;
	width: 18px;
	height: 18px;
	position: absolute;
	left: -26px;
	top: 0;
}
.popup-custom {
	padding-bottom: 24px;
}
.top-popup-panel * {
	margin: 0;
}
.popup-content {
	max-width: 582px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
.popup-content > .title {
	font-size: 24px;
	font-weight: 700;
}
.popup-content .image {
	width: 97px;
	height: 97px;
	background: url("../img/subscription-done.png") 0 0 no-repeat;
	margin: 0 auto;
	margin-bottom: 24px;
	margin-top: 122px;
}
.popup-logout .popup-content .image {
	background: url("../img/logout.png") 0 0 no-repeat;
}
.popup-choose-subscription .popup-content .box {
	text-align: left;
}
.subscriptions .btn {
	margin-top: auto;
	width: 100%;
	text-align: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}
.list-subscriptions li {
	list-style: none;
}
.popup-choose-subscription .help {
	background-color: #E8E9EC;
}
.popup-choose-subscription .help {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	padding: 12px;
	margin-top: 10px;
	border-radius: 8px;
	cursor: pointer;
}
.popup-choose-subscription .help .text-box {
	display: flex;
	flex-direction: column;
	width: calc(100% - 30px);
}
.popup-choose-subscription .help p {
	margin: 0;
}
.popup-choose-subscription .help .title {
	font-weight: 400;
	font-size: 14px;
}
.popup-choose-subscription .help .text {
	font-size: 12px;
}
.popup-choose-subscription .help .icon {
	background: url("../img/arrow -right-circle.svg") center center;
	width: 20px;
	height: 20px;
}
.popup-subscription-done .btn-done {
	max-width: 144px;
	margin: 0 auto;
	margin-top: 193px;
}
.popup-logout .buttons {
	display: flex;
	gap: 10px;
	margin-top: 193px;
	justify-content: center;
}

/* Popup профиля: текущие данные, поля, кнопки */
.popup-profile .popup-content {
	max-width: 460px;
	text-align: left;
}
.popup-profile .popup-content > .title,
.popup-profile .popup-content .sub-text {
	margin-bottom: 12px;
}
.popup-profile .sub-text {
	font-size: 13px;
	color: #666;
}
.profile-field {
	margin-bottom: 14px;
}
.profile-field .field-name {
	font-size: 14px;
	margin-bottom: 6px;
}
.field-hint {
	font-size: 12px;
	color: #999;
	font-weight: 400;
}
.profile-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-family: "Arial", sans-serif;
	font-size: 14px;
}
.profile-field input[disabled] {
	background-color: #F4F5F8;
	color: #666;
}
.profile-field input:focus {
	outline: 2px solid #FFDC00;
}
.profile-field .error-text {
	display: block;
}
.form-profile-success {
	color: #1A7F37;
	font-size: 14px;
	font-weight: 700;
	margin: 8px 0 0;
}
.form-profile-error {
	color: #E90518;
	font-size: 14px;
	margin: 8px 0 0;
}
.form-profile-error .error-text {
	display: block;
	margin: 0;
}
.profile-buttons {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}
.profile-buttons .btn {
	width: 50%;
	padding: 15px 0;
}
.profile-buttons .btn-save-profile {
	background-color: #E90518;
	color: #fff;
	font-weight: 700;
	border: none;
	cursor: pointer;
	font-family: "Arial", sans-serif;
	font-size: 16px;
}
.freshka-login-registration {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
}
.gray-block {
	background-color: #F4F5F8;
	width: calc(100% / 2 - 8px);
	border-radius: 8px;
	padding: 24px;
	box-sizing: border-box;
}
.login-registration {
	position: relative;
	max-width: 450px;
}
.login-registration .tab-forms {
	display: flex;
	padding: 4px;
	box-sizing: border-box;
}
.login-registration .tab-forms .tab-btn {
	border-radius: 4px;
	padding: 13px 24px;
	box-sizing: border-box;
	font-size: 16px;
	color: #8A8990;
	width: calc(100% / 2);
	text-align: center;
	cursor: pointer;
}
.login-registration .tab-forms .tab-btn.active {
	background-color: #fff;
	color: #000;
	font-weight: 700;
}
.login-registration form {
	margin-top: 24px;
}
.login-registration .field {
	margin-bottom: 16px;
}
.login-registration .field-name {
	font-size: 14px;
	color: #000;
	margin-bottom: 8px;
}
.freshka-login-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 156px;
	margin-bottom: 16px;
	font-size: 12px;
}
.freshka-login-checkbox a {
	color: #0073D1;
	text-decoration: none;
}
.login-registration input[type=submit] {
	background-color: #E90518;
	display: block;
	width: 100%;
	text-align: center;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	border: none;
	border-radius: 8px;
	padding: 17px 0;
}

.login-registration form input[type=text],
.login-registration form input[type=email],
.login-registration form input[type=tel],
.login-registration form input[type=password] {
	background-color: #fff;
	border: none;
	padding: 18px 12px;
	box-sizing: border-box;
	display: block;
	width: 100%;
}
.login-registration form input[type=text]:focus,
.login-registration form input[type=email]:focus,
.login-registration form input[type=tel]:focus,
.login-registration form input[type=password]:focus {
	outline: 2px solid #FFDC00;
}
.login-registration .field .error {
	outline: 2px solid #E90518;
}
/* Поле пароля с иконкой-глазом */
.password-field {
	position: relative;
}
.password-field input {
	width: 100%;
	padding-right: 44px;
}
.password-toggle {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #6b7280;
	transition: color 0.15s ease;
}
.password-toggle:hover {
	color: #000;
}
.password-toggle .eye {
	width: 20px;
	height: 20px;
}
.password-toggle .eye-closed {
	display: none;
}
.password-toggle.is-visible .eye-open {
	display: none;
}
.password-toggle.is-visible .eye-closed {
	display: block;
}
.login-registration .tab-item {
	display: none;
}
.login-registration .tab-item.active {
	display: block;
}
.freshka-team {
	text-align: center;
	padding-top: 48px;
	max-width: 470px;
}
.freshka-team img {
	margin-bottom: 48px;
}
.freshka-team .title {
	font-size: 22px;
	margin-bottom: 8px;
}
.freshka-team .sub-text {
	color: #8A8990;
	font-size: 14px;
}
.freshka-team .support-options {
	margin-top: 24px;
	max-width: 100%;
	padding: 16px 50px;
}
.freshka-team .support-options .links {
	row-gap: 11px;
	column-gap: 8px;
	width: 90%;
}
label.checkbox-container {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 10px 0;
	cursor: pointer;
	user-select: none;
}
label.checkbox-container input[type=checkbox] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	border: 2px solid #FFDE41;
	border-radius: 3px;
	background: transparent;
	outline: none;
}
label.checkbox-container input[type=checkbox]:checked {
	background: #FFDE41;
	background-image: url("../img/check.svg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 10px 10px;
}
label.checkbox-container input[type=checkbox]:focus {
	box-shadow: 0 0 0 2px rgba(255, 222, 65, 0.3);
}
label.checkbox-container input[type=checkbox]:hover {
	border-color: #e6c639;
}
label.checkbox-container.error input[type=checkbox] {
	border-color: #ff4444;
	box-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
}
label.checkbox-container .checkbox-text {
	font-size: 13px;
	line-height: 1.3;
}
label.checkbox-container .text-link {
	display: inline;
	color: #0066cc;
	text-decoration: underline;
	cursor: pointer;
}
.freshka-login-checkbox .checkbox-error {
	display: none;
	color: #E90518;
	font-size: 12px;
	margin: 6px 0 0;
}
label.checkbox-container .text-link:hover {
	color: #004499;
}
.freshka-login-registration input[type=submit] {
	cursor: pointer;
}
.field {
	position: relative;
}
.field .error-text {
	color: #E90518;
	font-size: 12px;
	margin-top: 8px;
	display: none;
}

/* Popup errors (form-error) */
.form-error {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 12px;
	padding: 32px 24px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.15);
	z-index: 10000;
	min-width: 320px;
	max-width: 480px;
	display: none;
	font-family: 'Arial', sans-serif;
}
.form-error * {
	font-family: 'Arial', sans-serif;
}
.form-error .popup-name {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 16px;
	text-align: center;
}
.form-error .error-text {
	color: #E90518;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	margin: 0;
}
.form-error .popup-close-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	font-size: 20px;
	color: #999;
	cursor: pointer;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}
.form-error .popup-close-btn:hover {
	background: #f0f0f0;
	color: #333;
}

/* Overlay для popup-ошибок */
.form-error-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 9999;
	display: none;
}

.form-done {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #F4F5F8;
	z-index: 5;
	padding: 24px;
	box-sizing: border-box;
	border-radius: 12px;
	display: none;
}
.form-done * {
	font-family: 'Arial', sans-serif;
}
.form-done .image {
	width: 96px;
	height: 96px;
	background: url("../img/subscription-done.png") 0 0 no-repeat;
	margin-bottom: 24px;
}
.form-done .title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
}
.form-done .text {
	font-size: 18px;
}

@media (max-width: 1024px) {
	.we-here {
		max-width: 100%;
		width: 100%;
	}
	.company-bottom-area .flex-block {
		flex-wrap: wrap;
	}
	.support-options {
		max-width: 100%;
		width: 100%;
	}
	.company-bottom-area .flex-block {
		gap: 16px;
	}
	.box.messages {
		max-width: 100%;
		width: 100%;
	}
	.box.subscriptions-block {
		max-width: 100%;
		width: 100%;
	}
	.messages-subscriptions-block {
		flex-wrap: wrap;
	}
	.lk-main {
		overflow: hidden;
	}
	.popup-custom {
		max-width: 98%;
	}
	.support-options .links {
		max-width: 460px;
	}
}

@media(max-width: 768px) {
	.gray-block {
		width: 100%;
	}
	.freshka-team {
		order: -1;
	}
	.login-registration form {
		padding: 0 100px;
		box-sizing: border-box;
	}
	.support-options {
		padding: 16px 25px;
	}
}

@media (max-width: 650px) {
	.company-top-area {
		flex-wrap: wrap;
		gap: 16px;
	}
	.company-top-area .box:first-of-type {
		max-width: 100%;
		width: max-content;
	}
	.company-top-area .box:first-of-type .freshka-name {
		display: none;
	}
	.company-top-area .box:last-of-type {
		max-width: 100%;
		width: max-content;
		margin-left: auto;
	}
	.inn {
		text-align: left;
	}
	.freshka-name {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.messages-table .flex-row {
		align-items: center;
	}
	.messages-table .flex-row p {
		font-size: 13px;
	}
	.messages-table .flex-row {
		padding: 12px 0;
	}
	.messages-table .flex-row p:nth-child(1) {
		width: 45%;
	}
	.messages-table .flex-row p:nth-child(2) {
		width: 20%;
	}
	.subscriptions-block .subscriptions-list .row p {
		font-size: 14px;
	}
	.subscriptions-block .subscriptions-list .row .inner-date {
		font-size: 16px;
	}
	.freshka-team .support-options {
		padding: 16px 16px;
	}
	.freshka-login-checkbox {
		margin-top: 50px;
	}
	.login-registration form {
		padding: 0;
	}
	.subscriptions {
		flex-wrap: wrap;
		gap: 10px;
	}
	.popup-choose-subscription .popup-content .box {
		width: 100%;
		max-width: 100%;
	}
	.popup-custom {
		height: 700px;
		overflow: auto;
	}
}

@media (max-width: 370px) {
	.messages-table .flex-row p {
		font-size: 12px;
	}
	.subscriptions-block .subscriptions-list .row p {
		font-size: 13px;
	}
	.subscriptions-block .subscriptions-list .row .inner-date {
		font-size: 14px;
	}
}

/* ========================================
   Стили для выпадающего списка компаний
   ======================================== */
.company-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 4px;
    padding: 4px 0;
}

.company-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.company-option:last-child {
    border-bottom: none;
}

.company-option:hover {
    background-color: #f8f9fa;
}

.company-option:active {
    background-color: #e9ecef;
}

/* Скролл для списка */
.company-list::-webkit-scrollbar {
    width: 6px;
}

.company-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.company-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.company-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Всплывающая подсказка для ссылок с data-tip (блоки «Возможности сопровождения») */
.link-tooltip {
    position: absolute;
    display: none;
    width: 280px;
    max-width: calc(100vw - 16px);
    background: #222;
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    animation: link-tooltip-in 0.15s ease;
    font-family: "Arial", sans-serif;
    text-align: left;
}

.link-tooltip p {
    margin: 0;
}

.link-tooltip .link-tooltip-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.link-tooltip .link-tooltip-text {
    font-size: 13px;
    line-height: 1.4;
    color: #e8e8e8;
}

/* Стрелка-хвостик: выше ссылки — внизу, ниже ссылки — вверху */
.link-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 0;
    margin-left: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #222;
}

.link-tooltip-below::after {
    bottom: auto;
    top: -6px;
    border-top: none;
    border-bottom: 6px solid #222;
}

@keyframes link-tooltip-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

