body {
font-family: 'Oswald', sans-serif;
margin: 0;
padding: 0;
text-align: center;
background-color: #f4f4f4;
transition: background 0.3s, color 0.3s;
padding-top: 60px;
}

body.light {
  background: #f3f4f6;
  color: #111827;
}

body.dark {
  background: #111827;
  color: #f3f4f6;
}
.hidden-checkbox {
  display: none;
}

    h2 { text-align: center; }
    label, input, select, textarea, button {margin-bottom: 10px;}
    table { width: 90%; margin: auto; border-collapse: collapse; text-align: center;}
    th, td { padding: 10px; border: 1px solid #ddd;}
    th { background-color: #007BFF; color: white;}
    .dark-mode th { background-color: #858585;}
    a { text-decoration: none;}

.about-us{background-color: #e6e6e6;margin: 15px;border-radius: 10px;padding: 5px;}
.dark-mode .about-us{background-color: #3b3b3b;}
.dark-mode .toggle-button {background: #050505;}

.alertxt {
color: #fff;
background-color: #fd6464;
width: 95%;
margin: 15px auto;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.alertext {
    color: #fff;
    background-color: #007bff;
    width: 95%;
    margin: 15px auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.toggle-button {
background: #5692d3;
    padding: 0px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
    bottom: 185px;
    left: 130px;
    opacity: 0.9;
}
.toggle-button:has(.hidden-checkbox:checked) {
  transform: rotate(180deg);
}

.toggle-button:hover {
  background: #d1d5db;
}

.icon-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
}

.icon {
  position: absolute;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.moon {
  opacity: 0;
  transform: rotate(-180deg);
}

.hidden-checkbox:checked + .toggle-button .sun {
  opacity: 0;
  transform: rotate(180deg);
}

.hidden-checkbox:checked + .toggle-button .moon {
  opacity: 1;
  transform: rotate(0deg);
}

.text{
color: #fff;
}
.dark-mode .text{
color: #ffd700;
}

.dark-mode .payment-img{
mix-blend-mode: multiply;
opacity: .8;
}

        .dark-mode {
            background-color: #121212;
            color: white;
        }
        .footer-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
	    flex-direction: row-reverse;
            padding: 20px;
            background: #333;
            color: white;
        }
        .footer-logo {
            font-size: 18px;
            font-weight: bold;
            text-align: left;
        }
        .footer-links {
            display: flex;
            flex-direction: column;
            text-align: left;
        }
        .footer-links a {
            color: white;
            text-decoration: none;
            margin: 5px 0;
        }
        .footer-links a:hover {
            text-decoration: underline;
        }
        .payment-methods {
            background-color: #ebebeb;
    	    text-align: center;
    	    margin-bottom: 15px;
    	    padding: 10px;
        }
        .dark-mode .payment-methods {
            background-color: #505050;
        }
@media (max-width:768px){
        .payment-methods {
    	    margin-bottom: 85px;
        }
}
        .top-menu {
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            transition: background 0.3s;
        }
        .dark-mode .top-menu {
            background: #222;
	    background-image: url(/images/style/bg_mozaic.png);
        }
.top-menu {
    background: #0079fbba;
    background-image: url(/images/style/bg_mozaic.png);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(8px);
    z-index: 1050;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.top-menu.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.4);
    transform: translateY(0);
}

.side-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,120,250,0.2) 25%, rgba(0,120,250,0.4) 50%, rgba(0,120,250,0.2) 75%);
  background-size: 200% 100%;
  animation: serverGlow 5s infinite linear;
  z-index: -1;
}

@keyframes serverGlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sidenav_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    padding: 7px;
    background: #0056b394;
    box-shadow: 0 0 10px 0 #0078fa;
}

.side-panel {
height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background: url(/images/server_bar.png) no-repeat bottom #fff;
    background-size: contain;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 55px;
    z-index: 10000;
    box-shadow: 0 0 10px 0 #0078fa;
}

.side-panel a {
  text-align: left;
  display: block;
  padding: 10px 20px;
  font-size: 18px;
  color: #111;
  text-decoration: none;
  transition: 0.3s;
}

.xetabar {
background: #b1d5fd;
}

.dark-mode .xetabar {
background: #1e376561;
}

.side-panel a:hover {
  background: #f0f0f0;
}

.side-panel .close-button {
position: absolute;
    top: 15px;
    right: 20px;
    font-size: 17px;
    background: #0078fa;
    padding: 0 10px 0 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

body.dark-mode .side-panel {
  background: url(/images/server_bar.png) no-repeat bottom #121212;
  background-size: contain;
}

body.dark-mode .side-panel a {
  color: #eee;
}

body.dark-mode .side-panel a:hover {
  background: #333;
}

.images_stil {height: 20px;}
.dark-mode .images_stil {mix-blend-mode: luminosity;}

.top-menu a:hover, .top-menu span:hover {
    background: rgba(255,255,255,0.2);
    text-decoration: none;
}

.dark-mode .top-menu {
    background: rgba(0,0,0,0.4);
    border:1px solid rgba(255,255,255,0.1);
}

@media (max-width:768px){
    .top-menu {
	display: flex;
        align-items: baseline;
        justify-content: space-between;
    }
    .user-panel {
        gap:5px;
        margin-top:5px;
    }
}

.btn_hd {
background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
        .logo {
            font-family: 'Roboto', sans-serif;
            color: white;
            font-size: 20px;
            font-weight: bold;
        }
        .theme-toggle {
            cursor: pointer;
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            margin-right: 15px;
        }
        .whois-search {
            margin: 20px 0 10px 0;
            font-size: 18px;
            font-weight: bold;
        }
        .whois-search-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }
        .search-input {
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 20px 0 0 20px;
            width: 290px;
            transition: border 0.3s;
        }
        .dark-mode .search-input {
            background: #333;
            color: white;
            border: 1px solid #555;
        }
        .search-select {
            border: 1px solid #ccc;
            border-left-style: none;
            border-radius: 0;
            padding: 9.7px;
            font-size: 16px;
            transition: border 0.3s;
        }
        .dark-mode .search-select {
            background: #333;
            color: white;
            border: 1px solid #555;
	    border-left-style: none;
        }
        .search-button {
            background: #007BFF;
            color: white;
            border: none;
            padding: 11px 15px;
            cursor: pointer;
            border-radius: 0 20px 20px 0;
            font-size: 16px;
            margin-left: -4px;
        }
	.dark-mode .search-button{
	    background: #747474;
	}
        .search-button i {
            margin-left: 5px;
        }

        .packages {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin: 20px 0;
        }

        .dark-mode .package {
            background: #333;
            color: white;
        }
        .package-header {
            padding: 15px;
            font-family: 'Roboto', sans-serif;
            font-weight: bold;
            color: white;
            font-size: 18px;
        }
        .package:nth-child(1) .package-header {font-family: 'Oswald', sans-serif;background: #007BFF;background-image: url(/images/style/3px-tile.png);border-radius: 10px 10px 0px 0px;}
        .package:nth-child(2) .package-header {font-family: 'Oswald', sans-serif;background: #87CEFA;background-image: url(/images/style/3px-tile.png);color: black;border-radius: 10px 10px 0px 0px;}
        .package:nth-child(3) .package-header {font-family: 'Oswald', sans-serif;background: #28a745;background-image: url(/images/style/3px-tile.png);border-radius: 10px 10px 0px 0px;}
        .package:nth-child(4) .package-header {font-family: 'Oswald', sans-serif;background: #FFD700;background-image: url(/images/style/3px-tile.png);color: black;border-radius: 10px 10px 0px 0px;}
        .package:nth-child(5) .package-header {font-family: 'Oswald', sans-serif;background: #ff00ba;background-image: url(/images/style/3px-tile.png);color: #fff;border-radius: 10px 10px 0px 0px;}
        .package:nth-child(6) .package-header {font-family: 'Oswald', sans-serif;background: #808080;background-image: url(/images/style/3px-tile.png);color: #fff;border-radius: 10px 10px 0px 0px;}
        .package:nth-child(7) .package-header {font-family: 'Oswald', sans-serif;background: #6a9ea7;background-image: url(/images/style/3px-tile.png);color: #fff;border-radius: 10px 10px 0px 0px;}
        .package:nth-child(8) .package-header {font-family: 'Oswald', sans-serif;background: #000;background-image: url(/images/style/3px-tile.png);color: #fff;border-radius: 10px 10px 0px 0px;}

        .package-content {
            background: #f9f9f9;
            padding: 15px;
            text-align: left;
        }
        .dark-mode .package-content {
            background: #444;
        }
        .price {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #5A5A5A;
        }
        .dark-mode .price {
            color: #FFD700;
        }
        .order-button {
            background: #007BFF;
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            border-radius: 5px;
            margin-top: 10px;
            width: 100%;
        }
	.dark-mode .order-button{
	background: #747474;
	}
.loqo{mix-blend-mode: luminosity;}
  #result {margin-top: 20px;}

  .result-table .check-link {text-align: right;}

   #progress {height: 4px;opacity: 0;visibility: hidden;}

.menu-item {position: relative;}
.dropdown {
    position: absolute;
    top: 141%;
    left: -45px;
    background: #007bff;
    padding: 5px;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-10px);
    width: 160px;
    text-align: left;
}

.dark-mode .dropdown{
    background: #363636;
}

.menu-item.active .dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dropdown a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}
.dropdown a:hover {
    background: #0a68cd;
    color: black;
    transform: translateX(5px);
}

.dark-mode .dropdown a:hover {
    background: #2e2e2e;
}

.submenu {
    display: flex;
    justify-content: center;
    background: #0056b3;
    padding: 10px;
    gap: 20px;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}
.show-submenu .submenu {
    opacity: 1;
    transform: translateY(0);
}

.submenu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
}
.submenu a:hover {
    color: #ffd700;
    transform: translateY(-3px);
}
.dark-mode .submenu {
    background: #363636;
}

.dark-mode .submenu a {
    color: #f3f4f6;
}

.dark-mode .submenu a:hover {
    color: #ffd700;
}

.card-badge.promotional {
    background: #e74c3c;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    position: absolute;
    top: 25px;
    left: -35px;
    transform: rotate(-45deg);
    z-index: 3;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: 150px;
    text-align: center;
    letter-spacing: 1px;
}

.packages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.packages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.package {
    position: relative;
    width: 300px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.package:hover {
    transform: scale(1.05);
}

.ticket_msg {margin:10px 0; padding:10px; border-radius:8px; background:#f9f9f9; box-shadow:0 1px 3px rgba(0,0,0,0.1);} 
.dark-mode .ticket_msg {background:#272727;}

.admin-nick {color: #c00;font-weight: bold;}
.admin-msg {color: #a00;font-weight: 500;background: rgba(255, 0, 0, 0.05);padding: 8px 12px;border-left: 4px solid #c00;border-radius: 5px;}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card-link {
    text-decoration: none;
    color: inherit;
}
.card {
    background: linear-gradient(135deg, #fff, #0056b3);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
}

.dark-mode .card {
background: linear-gradient(135deg, #0b0b0b, #464646);
border: 1px solid #6a6a6a;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.25);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.whois_table{max-width: 700px;width: 100%;font-size: 14px;border: 1px solid #CACACA;margin: auto;border-collapse: collapse;margin-bottom: 25px;}.whois_table tr {border-top: 1px solid #CACACA;}.whois_table td {padding: 5px;border-right: 1px solid #CACACA;}.whois_table thead > tr > th {padding: 5px;border-right: 1px solid #CACACA;}.whois_table td.buy:hover {background: #eaeaea;}.whois_table td.buy a:hover {background: none;color: #0e63b8;}.whois_table tr.info td {font-weight: bold;text-align: center;background: url(/images/style/bg_mozaic.png) repeat-x top #000;color: white;}
.tr:nth-child(even) {background: #efefef;}
.dark-mode .tr:nth-child(even) {background: #4a4a4a;}