:root {
--bg-light: #ffffff;
--text-light: #111111;
--bg-dark: #111111;
--text-dark: #ffffff;
--accent: #4f46e5;
--max-width: 1200px;
}

* {
box-sizing: border-box;
}
button{
cursor: pointer;
}
body:not(.dark) hr {
border: none;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
body.dark hr {
border: none;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
body {
overflow-x: hidden;
margin: 0;
font-family: 'Segoe UI', sans-serif;
background-color: var(--bg-light);
color: var(--text-light);
transition: background-color 0.3s, color 0.3s;
}
body.dark {
background-color: var(--bg-dark);
color: var(--text-dark);
}
body.dark .redirect-checker {
background: linear-gradient(to bottom, var(--bg-dark), #1a1a1a);
border-bottom: 1px solid #2a2a2a;
}

body.dark .checker-title {
color: var(--text-dark);
}

body.dark .checker-subtitle {
color: #aaa;
}

body.dark .checker-box {
background-color: rgba(34, 34, 34, 0.7);
border: 1px solid #333;
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body.dark .checker-input {
background-color: #222;
color: #eee;
border: 1px solid #444;
}

body.dark .checker-input::placeholder {
color: #888;
}

body.dark .checker-button {
background-color: var(--accent);
color: white;
}
body.dark .checker-button:hover {
background-color: #3b3bbf;
}
body.dark .checker-examples {
color: var(--accent);
}
body.dark .checker-examples:hover {
background-color: rgba(79, 70, 229, 0.2);
}
.container {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
padding: 20px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 20px;
background-color: inherit;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
position: fixed;
top: 0;
z-index: 999;
background: white;
z-index: 99999;
width: 100%;
}
body.dark header{
background: #111111;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
white-space: nowrap;
text-decoration: none;
color: black;
}
body.dark .logo {
color: white;
}
nav {
display: flex;
gap: 20px;
}
nav a {
text-decoration: none;
color: inherit;
font-weight: 500;
font-size: 1rem;
position: relative;
}
nav a::after {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 0%;
height: 2px;
background: var(--accent);
transition: width 0.3s;
}
nav a:hover::after {
width: 100%;
}
.header-right {
display: flex;
align-items: center;
gap: 12px;
}

.theme-toggle{
background: none;
border: none;
font-size: 1.3rem;
cursor: pointer;
color: inherit;
}
.mobile-menu {
position: fixed;
top: 0;
right: -100%;
width: 280px;
height: 100%;
background-color: inherit;
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
padding: 24px;
gap: 20px;
transition: right 0.3s ease;
z-index: 998;
}
.mobile-menu.active {
right: 0;
}
.mobile-menu-close {
align-self: flex-end;
font-size: 1.8rem;
background: none;
border: none;
cursor: pointer;
color: inherit;
}
.mobile-menu a {
text-decoration: none;
font-size: 1.1rem;
font-weight: 500;
color: inherit;
padding: 8px 0;
}
.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.3);
display: none;
z-index: 997;
}
.overlay.active {
display: block;
}
.burger {
display: none;
width: 30px;
height: 24px;
position: relative;
cursor: pointer;
}
.burger span {
position: absolute;
height: 4px;
width: 100%;
background: black;
left: 0;
transition: all 0.3s ease;
border-radius: 2px;
}
body.dark .burger span {
background: white;
}
.burger span:first-child {
top: 6px;
}
.burger span:last-child {
bottom: 6px;
}
.burger.active span:first-child {
transform: rotate(45deg);
top: 10px;
}
.burger.active span:last-child {
transform: rotate(-45deg);
bottom: 11px;
}
.flex-header{
display: flex;
align-items: center;
justify-content: space-between;
}
.redirect-checker {
padding: 80px 20px 60px;
background: linear-gradient(to bottom, var(--bg-light), #f6f8fa);
border-bottom: 1px solid #e5e7eb;
text-align: center;
}
.checker-icon {
font-size: 48px;
color: var(--accent);
margin-bottom: 16px;
}
.checker-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 8px;
color: inherit;
}
.checker-subtitle {
font-size: 1.1rem;
color: #666;
margin-bottom: 40px;
}
.checker-box {
background-color: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(8px);
border: 1px solid #ddd;
border-radius: 16px;
padding: 24px;
max-width: 620px;
margin: 0 auto;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
transition: all 0.3s;
}
body.dark .checker-box {
background-color: rgba(17, 17, 17, 0.5);
border-color: #333;
}
.checker-input {
width: 100%;
height: 140px;
padding: 14px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 12px;
background-color: #f9f9f9;
color: #111;
resize: vertical;
transition: border-color 0.3s;
}
body.dark .checker-input {
background-color: #1e1e1e;
color: #f5f5f5;
border-color: #444;
}
.checker-input:focus {
border-color: var(--accent);
outline: none;
}
.checker-actions {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
flex-wrap: wrap;
gap: 10px;
}
.checker-button {
background-color: var(--accent);
color: white;
padding: 12px 28px;
font-size: 1rem;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s;
font-weight: 500;
}
.checker-button:hover {
background-color: #3b3bbf;
}
.checker-examples {
font-size: 0.95rem;
color: var(--accent);
text-decoration: none;
padding: 6px 10px;
border-radius: 6px;
transition: background-color 0.2s;
}
.checker-examples:hover {
background-color: rgba(79, 70, 229, 0.1);
}
.faq-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 16px;
margin-top: 40px;
}
.faq-item {
background: #f8f9fa;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
overflow: hidden;
transition: background 0.3s;
height: fit-content;
}
.faq-question {
width: 100%;
text-align: left;
background: none;
border: none;
padding: 16px 20px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
color: var(--text-light);
transition: background 0.2s;
}
.faq-question a{
color: black;
text-decoration: none;
}
body.dark .faq-question a{
color: white;
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.4s ease;
padding: 0 20px;
}

.faq-item.open .faq-answer {
max-height: 500px; 
padding: 16px 20px;
}

.faq-item.open .faq-question::after {
content: "▲";
float: right;
}

.faq-question::after {
content: "▼";
float: right;
transition: transform 0.3s;
}

body.dark .faq-item {
background-color: #1e1e1e;
box-shadow: 0 1px 3px rgba(255,255,255,0.05);
}

body.dark .faq-question {
color: var(--text-dark);
}

body.dark .faq-answer {
color: #ccc;
}
.footer {
background-color: var(--bg-dark);
color: var(--text-dark);
padding: 40px 20px 20px;
}

.footer a {
color: var(--text-dark);
text-decoration: none;
transition: color 0.3s;
}

.footer a:hover {
color: var(--accent);
}

.footer-container {
display: flex;
flex-wrap: wrap;
gap: 40px;
justify-content: space-between;
max-width: var(--max-width);
margin: 0 auto;
}

.footer-logo {
flex: 1 1 250px;
}

.footer-logo a {
font-size: 1.5rem;
font-weight: bold;
display: flex;
align-items: center;
gap: 15px;
} 

.footer-links {
flex: 1 1 150px;
}

.footer-links h4 {
margin-bottom: 10px;
font-size: 1.1rem;
}

.footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer-links li {
margin-bottom: 8px;
}
.footer-bottom {
text-align: center;
padding-top: 20px;
font-size: 0.9rem;
opacity: 0.7;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
body:not(.dark) .footer {
background-color: var(--bg-light);
color: var(--text-light);
}
body:not(.dark) .footer a {
color: var(--text-light);
}
body:not(.dark) .footer a:hover {
color: var(--accent);
}
body:not(.dark) .footer-bottom {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
table {
width: 100%;
border-collapse: collapse;
border: 1px solid rgba(0, 0, 0, 0.1);
background-color: var(--bg-light);
color: var(--text-light);
transition: background-color 0.3s, color 0.3s;
}
body.dark table {
border: 1px solid rgba(255, 255, 255, 0.1);
background-color: #1a1a1a;
color: var(--text-dark);
}
table th,
table td {
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
word-break: break-word;
}
table td a{
color: black;
text-decoration: none;
}
body.dark table td a{
color: white;
text-decoration: none;
}

body.dark table th,
body.dark table td {
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table th {
background-color: rgba(79, 70, 229, 0.1); /* Light accent */
font-weight: bold;
}

body.dark table th {
background-color: rgba(79, 70, 229, 0.2);
}

table tr:hover {
background-color: rgba(79, 70, 229, 0.05);
}

body.dark table tr:hover {
background-color: rgba(79, 70, 229, 0.1);
}
.my-button {
display: block;
margin: auto;
margin-top: 20px;
padding: 15px;
background: #edecfc;
border: none;
border-radius: 6px;
color: black;
}
body.dark .my-button {
background: #252343;
color: white;
}
.my-button:hover {
background: #333333;
cursor: pointer;
color: white;
}

.block-header {
height: 100px;
}
.sub-header {
background-color: #edecfc;
position: fixed;
top: 55px;
width: 100%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
z-index: 9999;
}

.sub-header .sub-nav {
display: flex;
gap: 20px;
padding: 0.8rem 0;
justify-content: center;
flex-wrap: wrap;
}

.sub-header .sub-nav a {
color: black;
text-decoration: none;
font-weight: 500;
transition: opacity 0.2s;
}
body.dark .sub-header .sub-nav a {
color: #fff;
}
.sub-header .sub-nav a.active {
border-bottom: 2px solid var(--accent);
}

.sub-header .sub-nav a:hover {
opacity: 0.85;
}
body.dark .sub-header {
background-color: #333;
}
.block-redirect-chain.redirect-like-textarea {
max-width: 300px;
max-height: 100px;
overflow: auto;
}
.preloader-container-mini {
display: flex;
justify-content: center;
align-items: center;
height: 60px;
margin: 0 auto;
}

.preloader-mini {
width: 32px;
height: 32px;
border: 4px solid #d3d3d3;
border-top: 4px solid var(--accent);
border-radius: 50%;
animation: spin 1s linear infinite;
box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}
.backRedirectAll, #redirectZoneSelect {
border: 2px solid #edecfc;
padding: 10px;
background: transparent;
margin-bottom: 15px;
}
body.dark .backRedirectAll, body.dark #redirectZoneSelect {
border: 2px solid #333;
padding: 10px;
background: transparent;
margin-bottom: 15px;
color: white;
}



@keyframes spin {
0%   { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 6px;
margin: 20px 0;
flex-wrap: wrap;
}

.page-btn {
padding: 8px 14px;
font-size: 15px;
background-color: #f2f2f2;
border: 1px solid #ddd;
border-radius: 6px;
color: #333;
cursor: pointer;
transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.page-btn:hover:not(:disabled) {
background-color: var(--accent);
color: white;
border-color: var(--accent);
}

.page-btn:disabled {
background-color: #eaeaea;
color: #aaa;
cursor: not-allowed;
}

.page-btn.active {
background-color: var(--accent);
color: white;
border-color: var(--accent);
font-weight: bold;
}

.dots {
padding: 8px 10px;
color: #888;
font-size: 16px;
}
#redirectSearchInput {
background: white;
height: 30px;
border: 1px solid #e5e5e5;
border-radius: 6px;
}
body.dark #redirectSearchInput {
background: #333333;
height: 30px;
border: 1px solid #e5e5e5;
border-radius: 6px;
color: white;
}
.blocktable{
/*background-color: white;*/
}
.target-block {
background: rgba(255, 255, 255, 0.05);
border: 2px solid rgba(255,255,255,0.2);
margin: 0 auto 50px;
position: relative;
z-index: 2;
}

.domain-ray {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #cbc7f5;
font-weight: bold;
font-size: 28px;
pointer-events: none;
opacity: 1;
white-space: nowrap;
animation: shoot-ray 6.2s ease-in-out forwards;
z-index: 1;
}
.container.custom {
position: relative;
z-index: 10;
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 8px;
}
body.dark .container.custom {
position: relative;
z-index: 10;
background: rgba(0, 0, 0, 0.1);
padding: 20px;
border-radius: 8px;
}
@keyframes shoot-ray {
0% {
transform: translate(var(--x-start), var(--y-start)) scale(1.2);
opacity: 0;
}
20% {
opacity: 1;
}
100% {
transform: translate(0px, 0px) scale(0.8);
opacity: 0;
}
}

.page-layout {
display: flex;
gap: 20px;
padding: 20px;
box-sizing: border-box;
}

.sidebar {
background-color: #edecfc;
padding: 15px;
box-sizing: border-box;
min-width: 200px;
flex-shrink: 0;
}
body.dark .sidebar {
background-color: #333333;
}

.left-sidebar {
order: 1;
}

.right-sidebar {
order: 3;
}

.content-area {
flex: 1 1 auto;
order: 2;

padding: 15px;
box-sizing: border-box;
min-width: 0;
}
.top-zone-domains {
list-style: none;
padding-left: 0;
margin: 0;
font-size: 14px;
}

.top-zone-domains li {
margin-bottom: 6px;
}

.top-zone-domains li a {
color: #4f46e5;
text-decoration: none;
font-weight: 500;
}


.top-zone-domains li span {
color: #000000;
margin-left: 4px;
}
body.dark .top-zone-domains li span {
color: white;
}
.custom-toast {
position: fixed;
bottom: 30px;
right: 30px;
background: #2ecc71;
color: white;
padding: 16px 20px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
display: flex;
align-items: center;
gap: 15px;
font-family: Arial, sans-serif;
font-size: 16px;
z-index: 9999;
opacity: 0;
transform: translateY(20px);
transition: all 0.4s ease;
}

.custom-toast.show {
opacity: 1;
transform: translateY(0);
}

.toast-close {
cursor: pointer;
font-size: 20px;
font-weight: bold;
transition: color 0.3s ease;
}

.toast-close:hover {
color: #f1c40f;
}
.result-card {
border: 1px solid #e0e0e0;
border-radius: 12px;
padding: 16px;
margin-bottom: 20px;
margin-top: 20px;
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
transition: 0.3s;
}

.result-header {
display: flex;
justify-content: space-between;
align-items: center;
font-family: sans-serif;
font-size: 16px;
}

.domain-info a {
font-weight: bold;
color: #4f46e5;
text-decoration: none;
}

.domain-info .tag {
background: #f0f0f0;
color: #333;
padding: 3px 8px;
margin-left: 8px;
border-radius: 8px;
font-size: 12px;
}

.result-actions span {
margin-left: 15px;
cursor: pointer;
color: #555;
font-size: 16px;
font-weight: bold;
text-decoration: none;
}

.redirect-info {
margin-top: 10px;
display: flex;
gap: 20px;
font-size: 14px;
height: 20px;
}

.accordion-content {
display: none;
margin-top: 15px;
animation: fadeIn 0.3s ease-in-out;
}

.accordion-content table {
width: 100%;
border-collapse: collapse;
}

.accordion-content th, .accordion-content td {
padding: 8px;
border: 1px solid #ddd;
text-align: left;
font-size: 14px;
}

@keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
.result-card svg {
width: 25px;
}

.flex {
display: flex;
align-items: center;
gap: 10px;
}
.result-actions{
display: flex;
align-items: center;
gap: 15px;
height: 20px;
}
.redirect-info span {
display: flex;
align-items: center;
gap: 10px;
}




.url-loader-container {
position: relative;
width: 100%;
height: 60px;
background: #edecfc;
border-radius: 8px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
margin-top: 30px;
}

.url-loader-line {
position: relative;
width: 80%;
height: 6px;
background: white;
border-radius: 3px;
overflow: hidden;
}

.url-dot {
position: absolute;
top: -5px;
left: -20px;
width: 16px;
height: 16px;
background: var(--accent);
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
animation: moveDot 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes moveDot {
0% {
left: -20px;
opacity: 0;
transform: scale(0.8);
}
10% {
opacity: 1;
transform: scale(1);
}
90% {
opacity: 1;
transform: scale(1);
}
100% {
left: 100%;
opacity: 0;
transform: scale(0.8);
}
}
svg .my-fill{
fill: var(--accent);
}
body.dark svg .my-fill{
fill: white;
}
body.dark .url-loader-container {
background-color: #333333;
}

body.dark .url-loader-line {
background: #111111;
}
body.dark .result-card {
border: 1px solid #e5e5e5;
background: #111111;
}
body.dark .domain-info a {
color: white;
}
body.dark .result-actions span {
color: white;
}
.status_code_200 {
background-color: #e0f9e5;
color: #2e7d32;
border: 1px solid #b5e0c1;
padding: 3px 8px;
border-radius: 4px;
font-weight: bold;
display: inline-block;
min-width: 50px;
text-align: center;
}
body.dark .status_code_200 {
background-color: #184120;
color: #ffffff;
}

.status_code_3xx {
background-color: #fff4e5;
color: #f57c00;
border: 1px solid #fbc97c;
padding: 3px 8px;
border-radius: 4px;
font-weight: bold;
display: inline-block;
min-width: 50px;
text-align: center;
}
body.dark .status_code_3xx {
background-color: #322513;
}

.status_code_4xx,
.status_code_5xx {
background-color: #fdecea;
color: #c62828;
border: 1px solid #f5b5b2;
padding: 3px 8px;
border-radius: 4px;
font-weight: bold;
display: inline-block;
min-width: 50px;
text-align: center;
}
body.dark .status_code_4xx,
body.dark .status_code_5xx {
background-color: #230704;
}
.redirect_icon {
display: inline-block;
transition: transform 0.4s ease-in-out;
}
body.dark .select2-container--default .select2-selection--single {
background-color: #111111!important;
}
body.dark .select2-dropdown {
background-color: #111111!important;
}
body.dark .select2-container--default .select2-search--dropdown .select2-search__field {
background: #111111!important;
color: white!important;
}
body.dark .select2-container--default .select2-selection--single .select2-selection__rendered {
color: white!important;
line-height: normal!important;
}
body.dark .select2-container--default .select2-selection--single .select2-selection__clear span{
color: white!important;
}
.sidebar.right-sidebar h3 {
font-size: 16px;
max-width: 200px;
text-align: center;
}
.redirect-box {
animation: fadeIn 0.8s ease-in-out;
}

.redirect-box.error {
color: #a00;
background: #fff3f3;
border: 1px solid #f5c2c7;
}

.redirect-header {
font-size: 22px;
font-weight: 600;
margin-bottom: 20px;
color: #333;
word-break: break-word;
}

.icon-link::before {
content: "🔗";
font-size: 24px;
}

.redirect-timeline {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 24px;
overflow-x: auto;
padding-bottom: 8px;
}

.redirect-step {
background: #edecfc;
border-radius: 12px;
padding: 10px 16px;
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
transition: transform 0.3s;
}
.redirect-box a{
color: black;
}
.redirect-step:hover {
transform: translateY(-3px);
}

.step-icon {
font-size: 18px;
}

.step-url {
font-size: 14px;
color: #000000;
font-weight: 500;
/*max-width: 220px;*/
overflow: hidden;
text-overflow: ellipsis;
}
body.dark .step-url {
color: white;
}

.redirect-arrow {
font-size: 20px;
color: #999;
animation: bounceRight 1.2s infinite;
}

.redirect-details {
font-size: 15px;
color: #444;
line-height: 1.6;
}

.status-code {
padding: 3px 8px;
border-radius: 6px;
font-weight: bold;
}

.code-200 {
background-color: #d4edda;
color: #155724;
}
.code-301, .code-302 {
background-color: #fff3cd;
color: #856404;
}
.code-400, .code-500 {
background-color: #f8d7da;
color: #721c24;
}
.redirect-details {
word-break: break-word;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceRight {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(5px); }
}

body.dark .right-sidebar a, body.dark .redirect-box a, body.dark .redirect-details{
color: white;
}
body.dark .redirect-step {
background: #333333;
}
body.dark .redirect-header {
color: white;
}
.search-form {
display: flex;
align-items: center;
margin-left: 20px;
gap: 6px;
}

.search-form input {
padding: 6px 10px;

border-radius:20px;
font-size: 14px;
width: 300px;
transition: border-color 0.3s;
border: none;
border: 1px solid #ccc;
}

.search-form input:focus {
border-color: #edecfc;
outline: none;
}

.search-form button {
padding: 6px 10px;
background-color: #edecfc;
color: black;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s;
}
body.dark .search-form button, {
background-color: #111111;
border: 1px solid #e5e5e5;
color: white;
}
body.dark .search-form input {
background-color: #111111;
border-bottom: 1px solid #e5e5e5;
color: white;
}

.search-form button:hover {
background-color: #f6f8fa;
}
.table-redirect-checker {
overflow-x: auto;
}

.my-table {
width: 100%;
border-collapse: collapse;
}
.block-no-found svg {
width: 150px;
margin: auto;
display: block;
margin-top: 40px;
}
.block-no-found h2{
font-size: 18px;
text-align: center;
}
.subdomain-output {
margin-top: 20px;
position: relative;
margin-bottom: 50px;
}

.subdomain-list {
list-style-type: none;
padding: 0;
}

.subdomain-list li {
padding: 6px 10px;
font-size: 15px;
}
.subdomain-list li strong {
color: black;
}


.subdomain-item {
border-bottom: 1px solid #eee;
padding: 5px 0;
}
.subdomain-item a{
text-decoration: none;
color: black;
}
.subdomain-header {
cursor: pointer;
padding: 5px 10px;
transition: background 0.2s;
}

.subdomain-details {
padding-left: 20px;
margin-top: 5px;
}
.inner-subdomain-list {
list-style-type: disc;
margin: 5px 0;
padding-left: 20px;
}
body.dark .subdomain-list li strong, body.dark .subdomain-item a {
color: white;
}
.grid {
display: grid;
grid-template-columns: repeat(5, minmax(110px, 1fr));
gap: 10px;
margin-top: 40px;
}

.item {
background: #edecfc;
padding: 8px;
text-align: center;
border-radius: 6px;
font-weight: bold;
color: black;
transition: 0.2s ease;
display: none;
}

.item.visible {
display: block;
}

.pagination {
text-align: center;
margin-top: 20px;
}

.pagination button {
margin: 0 4px;
padding: 6px 12px;
font-size: 14px;
border: none;
border-radius: 6px;
background-color: #11111111;
color: black;
cursor: pointer;
transition: background 0.2s ease;
}
body.dark .pagination button {
background-color: #333333;
color: white;
}

.pagination button:hover {
background-color: #4f46e5;
color: white;
}

.pagination button.active {
background-color: #4f46e5;
color: white;
}
body.dark .pagination button.active {
background-color: #4f46e5;
color: white;
}

.pagination .dots {
padding: 6px 10px;
color: #777;
font-weight: bold;
}
.crumbs-wrapper {
font-family: sans-serif;
font-size: 14px;
display: flex;
flex-wrap: wrap;
align-items: center;
padding-bottom: 4px;
margin-left: 20px;
border-bottom: 1px solid #e5e5e5;
}
.crumb {
white-space: nowrap;
color: black;
}

a.crumb  {
color: black;
text-decoration: none;
}

.crumb-separator {
margin: 0 4px;
}
.crumb-last {
font-style: italic;
}



.tabs-container {
margin: 40px auto;
font-family: Arial, sans-serif;
}

.tab-buttons {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 20px;
}

.tab-button {
padding: 10px 20px;
background-color: #f0f0f0;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
}

.tab-button:hover {
background-color: #ddd;
}

.tab-button.active {
background-color: #4f46e5;
color: #fff;
}

.tab-contents {
position: relative;
}

.tab-content {
display: none;
animation: fadeIn 0.4s ease;
}

.tab-content.active {
display: block;
}

@keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}

.tab-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}

.tab-grid.single-column {
grid-template-columns: 1fr;
}

.tab-block {
background: #f9f9f9;
padding: 20px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}

.tab-block:hover {
transform: translateY(-4px);
}

.tab-block h3 {
margin-top: 0;
color: #333;
font-size: 1.2em;
}

.tab-block p {
color: #555;
line-height: 1.6;
}
.similar_tab-block {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.sdi, .similar_page p {
padding: 5px 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f8f8f8;
text-align: center;
word-break: break-word;
text-decoration: none;
color: black;
line-height: normal;
}
.sdi.link {
text-decoration: underline;
}

.similar_page {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px 15px;
}
.sdi, .similar_page p {
margin: 0;
padding: 6px 10px;
background: #f0f0f0;
border-radius: 4px;
text-align: center;
word-break: break-word;
font-size: 14px;
}
body.dark a.crumb, body.dark .crumb  {
color: white;
}
body.dark .tab-block {
background: #333333;
}
body.dark .sdi, body.dark .similar_page p {
background: #0f0f0f;
color: white;
}


@media (max-width: 900px) {
.page-layout {
flex-direction: column;
}
.left-sidebar,
.right-sidebar,
.content-area {
min-width: 100%;
order: initial;
}
}
@media (max-width: 768px) {
.domain-ray{
display: none!important;
}
.burger {
display: block;
width: 30px;
height: 24px;
position: relative;
cursor: pointer;
background: transparent;
border: none;
}
nav {
display: none;
}

.header-right {
gap: 8px;
}

.logo {
font-size: 1.3rem;
}
.sub-header {
display: none;
}
.redirect-checker {
padding: 0px;
}
.block-header {
height: 50px;
}
.result-header {
display: block;
}
.result-actions {
justify-content: center;
margin-top: 20px;
margin-bottom: 20px;
}
.redirect-info {
display: block;
height: auto;
}
.result-card svg {
width: 25px;
height: 25px;
}
.redirect-info span {
padding: 10px;
}
.content-area, .content-area .container.custom {
padding: 0px;
}
.search-form{
display: none;
}
.search-form.mob{
display: flex;
margin: 0px
}
.search-form.mob input {
width: 100%;
height: 50px;
}
.search-form button {
height: 50px;
width: 80px;
}

.table-redirect-checker {
overflow-x: auto;
}


h1 {
font-size: 23px;
text-align: center;
}
.container.custom .container {
padding: 0px;
}
.page-layout {
padding: 10px;
}
table th, table td {
padding: 5px;
font-size: 13px;
}
table td a {
max-width: 250px;
word-break: break-word;
display: block;
}
.block-redirect-chain.redirect-like-textarea a {
display: contents;
}

.table-redirect-checker.mobcustom table,
.table-redirect-checker.mobcustom thead,
.table-redirect-checker.mobcustom tbody,
.table-redirect-checker.mobcustom th,
.table-redirect-checker.mobcustom td,
.table-redirect-checker.mobcustom tr {
display: block;
}
.table-redirect-checker.mobcustom thead {
display: none;
}
.table-redirect-checker.mobcustom tbody tr {
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 8px;
padding: 10px;
background-color: #fff;
box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
body.dark .table-redirect-checker.mobcustom tbody tr {
background-color: #111;
}
.table-redirect-checker.mobcustom td {
display: flex;
justify-content: space-between;
padding: 8px 5px;
border: none;
border-bottom: 1px solid #eee;
}
.table-redirect-checker.mobcustom td:last-child {
border-bottom: none;
}
.table-redirect-checker.mobcustom td::before {
content: attr(data-label);
font-weight: bold;
flex: 0 0 40%;
text-align: left;
color: #333;
}
body.dark .table-redirect-checker.mobcustom td::before {
color: white;
}
.table-redirect-checker.mobcustom td > *:not(style):not(script) {
word-break: break-word;
}
.block-redirect-chain.mobcustom {
display: flex;
flex-direction: column;
gap: 4px;
}
.tab-grid {
grid-template-columns: 1fr;
}
.sidebar.right-sidebar h3 {
max-width: 100%;
}
.tab-block h3 {
text-align: center;
line-height: 30px;
}
}
@media (max-width: 400px) {
.mobile-menu {
width: 100%;
}
}