body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #111;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
}

/* HEADER */
.header {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

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

.logo {
    flex: 1 1 auto;
    min-width: 0;
}

.logo a,
.logo {
    font-weight: bold;
    font-size: 20px;
    color: #2e7d32;
    text-decoration: none;
}

.logo img {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
}

.mobile-menu-wrap {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: #111;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.menu a {
    margin: 0;
    text-decoration: none;
    color: #111;
    padding: 5px 8px;
}

    .search-box {
        display: flex;
        border: 2px solid #2e7d32;
        border-radius: 6px;
        overflow: hidden;
    }

    .search-box input {
    flex: 1;
    padding: 12px;
    border: none;
    font-size: 16px;
}

.search-box button {
    background: #2e7d32;
    color: #fff;
    border: none;
    padding: 0 25px;
    font-weight: bold;
    cursor: pointer;
}

.search-box button:disabled {
    opacity: 0.6;
}

/* RESULT */
.result {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
}

/* STATUS */
.status {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 4px 6px;
    border-radius: 4px;
}

.status:hover {
    background: #f1f1f1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.green {
    background: #2e7d32;
}

.yellow {
    background: #f9a825;
}

.red {
    background: #c62828;
}

/* TOOLTIP */
.tooltip {
    display: none;
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 12px;
    max-width: 220px;
    width: max-content;
    z-index: 10;
}

.status.active .tooltip,
.status:hover .tooltip {
    display: block;
}

/* SITES */
.sites {
    margin-top: 40px;
}

.div_ker {
    margin: 30px 0;
    text-align: center;
}

.div_ker a {
    display: inline-block;
    max-width: 100%;
}

.div_ker img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .div_ker img {
        max-width: 240px;
    }
}

@media (max-width: 992px) {
    .div_ker img {
        max-width: 468px;
    }
}

.site-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.site-meta {
    flex: 1;
    min-width: 220px;
}

.domain {
    font-size: 16px;
    color: #222;
    word-break: break-all;
}

.site-name {
    color: #555;
}

.cat-name {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 3px;
}

.status-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.status-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 7px;
    background: #f7f7f7;
    border: 1px solid #e6e6e6;
    font-size: 13px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-label {
    font-weight: 600;
    color: #333;
}

/* DESCRIPTION */
.description {
    margin-top: 40px;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    margin-top: 50px;
    background: #f9f9f9;
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-right {
    text-align: right;
}

.footer a {
    display: block;
    text-decoration: none;
    color: #111;
    margin: 3px 0;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

/* MOBILE */
@media (max-width: 600px) {
    .header-inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
        padding: 12px;
    }

    /* ВАЖНО: статус остается справа */
    .site-item {
        flex-direction: row;
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-right {
        text-align: left;
    }

    .mobile-menu-wrap {
        position: relative;
        z-index: 20;
    }

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        width: 44px;
        height: 44px;
    }

    .menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        width: min(260px, calc(100vw - 20px));
        flex-direction: column;
        background: #fff;
        border: 1px solid #eee;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        margin-top: 0;
    }

    .menu a {
        margin: 0;
        padding: 12px 15px;
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle:checked ~ .menu {
        display: flex;
    }
}

.block_politics_cookies{
	padding: 20px;
	z-index: 999;
	position: sticky;
	bottom: 0px;
	top: 0px;
	background: #aab694;
	color: #fff;
	display: flex;
}

.politics_cookies{
	padding-right: 30px;
}

.button_cookies{
	background: #2e7d32;
	color: #fff;
	border: none;
	padding: 3px 10px;
}

.block_popup_politics_cookies{
	background: rgba(0, 0, 0, 0.5);
	overflow-y: auto;
	height: 100%;
	position: fixed;
	display: flex;
	padding: 70px;
	z-index: 999999999;
	bottom: 0px;
	width: 100%;
	justify-content: center;
}

.politics_cookies_text{
	background: #fff;
	padding: 90px;
	width: fit-content;
	min-width: 384px;
	height: fit-content;
	top: 20%;
	width: 60%;
	position: relative;
}

.open_popup_cookie{
	text-decoration: underline dotted;
	font-weight: bold;
  	color: #2e7d32;
}

.block_close_politics_popup{
	position: absolute;
	right: 10px;
	top: 10px;
}

.popup__close-button{
	background: none;
	border: none;	
}

.checkbox_agree_personal_data{
	width: 20px;
  	height: 20px;
}

.block-politika{
	padding-bottom: 30px;
}

.link_person_data {
	text-decoration: underline;
}

blockquote{
    background-color: #ededed;
    padding: 14px 20px;
    border-radius: 15px;
}

.details {
  position: relative;
  display: block;
  max-width: 750px;
  margin: 0 auto 10px;
  background: rgb(213 232 255 / 50%);
  border-radius: 5px;
  transition: 0.3s;
  overflow: hidden;
}

.details::after {
  position: absolute;
  right: 24px;
  top: 15px;
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-right: 3px solid #425995;
  border-bottom: 3px solid #425995;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: .3s;
}

.details[open]::after {
  transform: rotate(45deg);
}

.details[open] {
  padding-bottom: 100px;
}

.details[open] .details__title {
  margin-bottom: 32px;
}

.details__title {
  background: #cee6f9;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  transition: .3s;
}

.details__title::-webkit-details-marker {
  display: none;
}

.details__content {
  padding: 0 32px;
  font-size: 18px;
  margin-bottom: -60px;
}

.details__content p:last-child {
  margin-bottom: 0;
}
.details__content p:first-child {
  margin-top: 0;
}

.check_date {
    margin: 30px 0;
    padding: 20px;
    background: #fafafa;
    border-left: 3px solid #ddd;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.last_check_date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.check_date_note,
.check_date_contact {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.check_date_contact {
    margin-bottom: 3px;
}

.email {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.email:hover {
    text-decoration: underline;
}
