@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #4dc3ff;
    --sidebar-bg: #ffffff;
    --main-bg: #f8f9fa;
    --text-dark: #343a40;
    --text-muted: #5c636a;
    --accent-red: #ff6b6b;
    --light-blue-bg: #f0faff;
    --border-color: #e9ecef;
    --sidebar-width: 250px;
    --checkbox-border: #adb5bd;
    --checkbox-checked-bg: var(--primary-color);
    --checkbox-checked-border: var(--primary-color);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-dark);
    font-size: 0.9rem;
}

.fs-sm {
    font-size: 0.8rem;
}

.fw-semibold {
    font-weight: 600 !important;
}

.main-wrapper {
    min-height: 100vh;
}

/* header logo filter */
.headLogo img{
    filter: drop-shadow(1px 0 0 #007bff) drop-shadow(0 1px 0 #007bff) drop-shadow(-1px 0 0 #007bff) drop-shadow(0 -1px 0 #007bff);
}

/* =====================================================
   Logo sizing (frontend)
   =====================================================
   All front-end logos use the .logo wrapper + .img-responsivee class.
   Defaults below keep the logo well-sized and crisp across the
   sidebar (small), the page header (medium), and the footer (medium).
   Override per-wrapper with inline styles if needed. */
.logo {
    display: inline-block;
    line-height: 0;
    margin-left: 20px;
}

.logo .img-responsivee,
.logo img {
    display: block;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Sidebar logo (narrow column) */
.sidebar .logo .img-responsivee,
.sidebar .logo img,
.x-tools .logo .img-responsivee,
.x-tools .logo img {
    max-height: 40px;
    max-width: 200px;
}

/* Page header (mobile) logo */
header .logo .img-responsivee,
header .logo img,
.headLogo img {
    max-height: 40px;
    max-width: 200px;
}

/* Footer logo */
.footerLogo .img-responsivee,
.footerLogo img {
    max-height: 60px;
    max-width: 240px;
}

.sidebar {
    width: 300px;
    background-color: #007bff;
}

.sidebar .logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #20c997;
    padding: 10px 0;
    text-align: center;
}

.sidebar .logo i {
    color: #20c997;
}


.sidebar .nav-link {
    color: #ffffff;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: linear-gradient(1deg, #007bffba, #007bffc9, #007bffba);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 10px !important;
}

.sidebar .nav-link:hover {
    background-color: #fff;
    color: #ffffff;
}

.sidebar .nav-active {
    background-color: #fff;
    color: #ffffff;
}

.sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(77, 195, 255, 0.3);
}

.sidebar .nav-link.active:hover {
    background-color: darken(var(--primary-color), 5%);
    color: #ffffff;
}


.sidebar .logout .nav-link {
    color: var(--text-muted);
    font-weight: 500;
}

.sidebar .logout .nav-link:hover {
    color: var(--text-dark);
    background-color: transparent;
}

/* .main-content {
    background: #2A7B9B;
    background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
} */

.btn-back {
    background-color: var(--accent-red);
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.4);
    transition: background-color 0.2s ease;
}

.btn-back:hover {
    background-color: #adb5bd;
    color: #212529;
}

.btn-back i {
    font-size: 0.8rem;
}

.main-content header h1 {
    font-size: 1.4rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.search-section .form-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.search-section .input-group {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: #ffffff;
    overflow: hidden;
    height: 50px;
}

.search-section .input-group .search-icon {
    background-color: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
}

.search-section .input-group .search-input {
    border: none;
    box-shadow: none;
    padding-left: 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.search-section .input-group .search-input::placeholder {
    color: #adb5bd;
}

.search-section .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(77, 195, 255, 0.25);
}

.generator-section .form-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.generator-section .input-group {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: #fff;
    overflow: hidden;
}

.generator-section .input-group .search-icon {
    background-color: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
}

.generator-section .input-group .search-input {
    border: none;
    box-shadow: none;
    padding-left: 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.generator-section .input-group .search-input::placeholder {
    color: #adb5bd;
}

.generator-section .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(77, 195, 255, 0.25);
}

.btn-search {
    background: linear-gradient(90deg, #007bff, #007bffc7);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: none;
    /* box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4); */
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.btn-search:hover {
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.5);
    color: #ffffff;
}

.showmore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #007bff 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 15px 0 25px 0;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.showmore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.6s ease;
}

.showmore-btn:hover::before {
    left: 100%;
}

.showmore-btn:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.35);
    color: #ffffff;
}

.showmore-btn:focus,
.showmore-btn:active {
    outline: none;
    transform: translateY(1px);
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.2);
    color: #ffffff;
}

.showmore-btn i {
    transition: transform 0.2s ease;
}

.showmore-btn:hover i {
    transform: translateY(2px);
}

.more-link {
    color: var(--primary-color);
    font-weight: 500;
}

.more-link:hover {
    color: darken(var(--primary-color), 10%);
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
}

body .whois-result-main-title .left-title-area .whois-info-title {
    font-weight: 600 !important;
    line-height: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
}

body .whois-result-main-title {
    font-size: 1.0rem;
    color: var(--text-dark);
    padding: 10px;
    background: linear-gradient(90deg, #007bff, #007bffc7);
    border-radius: 5px;
}

body .whois-result-main-title .left-title-area>span {
    display: flex !important;
    align-items: center !important;
    height: 24px !important;
}
body .whois-result-main-title .left-title-area>span i{
    color: #fff;
}
body .whois-result-main-title .left-title-area img {
    display: block !important;
    height: 24px !important;
    width: 24px !important;
    object-fit: contain !important;
    margin-left: 8px !important;
}

.extension-item {
    position: relative;
    display: inline-block;
}

.extension-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.extension-item label {
    display: inline-block;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-align: center;
    min-width: 70px;
    font-weight: 400;
    color: #495057;
}

.extension-item input:checked+label {
    background: linear-gradient(90deg, #007bff, #007bffcf);
    color: white;
    border-color: #ffffff;
}

.results-section h2 {
    font-size: 1.0rem;
    color: #ffffff;
    padding: 10px;
    background: linear-gradient(90deg, #007bff, #007bffc7);
    border-radius: 5px;
}

.results-section h2 i {
    color: #ffffff;
    font-size: 0.8em;
}


.result-list li {
    background-color: #ffffff;
    padding: 0.8rem 1rem;
    /* border-radius: 0.5rem; */
    /* border: 1px solid var(--border-color); */
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease;
    border-bottom: 1px dotted #000;
    margin-bottom: 10px !important;
}

.result-list li:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.result-list li span {
    color: var(--text-dark);
}

.btn-action {
    background: linear-gradient(90deg, #007bff, #007bffc7);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 0.375rem;
    min-width: 75px;
    text-align: center;
    border: none;
    box-shadow: 0 2px 5px rgba(77, 195, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-action:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(77, 195, 255, 0.4);
    transform: translateY(-1px);
}

.btn-action:active {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(77, 195, 255, 0.4) !important;
    transform: translateY(-1px);
}

.btn-action span {
    color: #ffffff !important;
}

.btn-whois {
    background: linear-gradient(135deg, #dc3545, #e54c5b);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 0.375rem;
    min-width: 75px;
    text-align: center;
    border: none;
    box-shadow: 0 2px 5px rgba(77, 195, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-whois:hover {
    background-color: var(--accent-red);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(77, 195, 255, 0.4);
    transform: translateY(-1px);
}

.btn-whois:active {
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(77, 195, 255, 0.4);
    transform: translateY(-1px);
}

.btn-whois span {
    color: #ffffff !important;
}

.show-more-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.show-more-link:hover {
    color: var(--text-dark);
}

.show-more-link i {
    font-size: 0.7em;
}


@media (max-width: 991.98px) {
    .search-section .col-lg-4 {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        box-shadow: none;
    }

    .main-wrapper {
        flex-direction: column;
    }

    .sidebar .logout {
        padding-top: 1rem;
    }

    .results-section .col-md-6 {
        margin-bottom: 1.5rem;
    }

    .results-section .col-md-6:last-child {
        margin-bottom: 0;
    }

    .main-content header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start !important;
    }
    .main-content header>div:last-child button{
        display: block;
    }
     .main-content header>div:last-child a{
        display: none;
     }   

    .main-content header>div:last-child a{
        margin-top: 0.5rem;
        align-self: flex-end;
    }

    .available{
        display: none;
    }

    .btn-action, .btn-whois {
        min-height: 44px;
        padding: 0.6rem 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.header-left-btn{
    display: flex;
    align-items: center;
}

/* --- Consolidated and Shortened Styles (April 2025) --- */
.homepageColumnsArea {
    /* background: #f8fafc; */
    padding: 40px 0 0px 0;
    border-radius: 18px;
    /* box-shadow: 0 4px 32px 0 rgba(0,0,0,0.06); */
    border: none !important;
    /* Remove top padding for .mainPadding variant */
}

.domain-ckbx {
    border: none !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    margin-right: 0.5em;
    overflow: visible;
    color: white !important;
}

.result-list>li:last-child .domain-ckbx {
    margin-right: 0;
}

.homepageColumnsMain,
.homepageFaqsArea {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
    padding: 32px 24px 24px 24px;
}

.homepageColumnsMain {
    margin-bottom: 32px;
    transition: transform 0.18s, box-shadow 0.18s;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homepageColumnsMain:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(0, 123, 255, 0.10);
}

.homepageColumnsIcon,
.homeFaqsRow {
    border-radius: 50%;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepageColumnsIcon {
    padding: 18px;
    margin-bottom: 18px;
    width: 128px;
    height: 128px;
}

.homepageColumnsIcon img {
    width: 96px;
    height: 96px;
}

.homepageColumnsMain-title,
.homefaq-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.5px;
}

.homepageColumnsMain p,
.homeFaqsRow p {
    color: #495057;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 0;
}

.homepageFaqsAreaMain {
    padding: 40px 0 0px 0;
    /* background: linear-gradient(90deg, #f8fafc 0%, #e9ecef 100%); */
    border-radius: 18px;
    /* box-shadow: 0 4px 32px 0 rgba(0,0,0,0.06); */
}

.homeFaqsRow {
    border-radius: 12px;
    padding: 24px 20px 18px 20px;
    margin-bottom: 28px;
    transition: box-shadow 0.18s, transform 0.18s;
}

.homeFaqsRow:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 123, 255, 0.10);
    transform: translateY(-4px) scale(1.01);
}

@media (max-width: 991px) {

    .homepageColumnsMain,
    .homepageFaqsArea {
        padding: 28px 16px 20px 16px;
    }

    .homepageColumnsArea {
        padding: 24px 0 10px 0;
    }

    .faq-main-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .homepageColumnsMain {
        min-height: 0;
        margin-bottom: 20px;
    }

    .homepageColumnsArea,
    .homepageFaqsAreaMain {
        border-radius: 10px;
        padding: 10px 0 5px 0;
    }

    .homepageFaqsArea {
        border-radius: 8px;
        padding: 10px 4px 8px 4px;
    }

    .faq-main-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .homeFaqsRow {
        padding: 14px 8px 10px 8px;
        margin-bottom: 16px;
    }
}

/* --- Enhanced Footer Styles (April 2025) --- */
footer {
    /* background: linear-gradient(90deg, #232526 0%, #414345 100%) !important; */
    color: #f1f1f1 !important;
    padding-top: 50px;
    /* border-top: 2px solid #e0e0e0; */
    /* box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.04); */
    font-size: 1rem;
}

.footer-inner {
    background: transparent;
    padding-bottom: 40px !important;
    border-radius: 18px 18px 0 0;
}

.footer-nav-title {
    color: #0a58ca !important;
    letter-spacing: 1px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footerLogo img {
    max-width: 160px;
    filter: drop-shadow(1px 0 0 #007bff) drop-shadow(0 1px 0 #007bff) drop-shadow(-1px 0 0 #007bff) drop-shadow(0 -1px 0 #007bff);
    margin-bottom: 10px;
}

.footerCopyright {
    color: #646262;
    font-size: 0.97rem;
    margin-top: 10px;
}

.navigationSection ul li a {
    color: #212529 !important;
    opacity: 0.8;
    transition: color 0.2s, opacity 0.2s;
}

.navigationSection ul li a:hover {
    color: #212529 !important;
    opacity: 1;
    text-decoration: underline;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .footer-inner {
        padding-bottom: 20px !important;
    }

    .footerLogo img {
        max-width: 120px;
    }

    .footer-nav-title {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .footer-inner {
        border-radius: 10px;
        padding-bottom: 10px !important;
    }

    .footerLogo img {
        max-width: 90px;
    }

    .footer-nav-title {
        font-size: 0.95rem;
    }

    .footerCopyright {
        font-size: 0.85rem;
    }
}

/* --- Restored FAQ Section Styles (April 2025) --- */
.homepageFaqsAreaMain {
    /* background: linear-gradient(90deg, #f8fafc 0%, #e9ecef 100%); */
    border-radius: 18px;
    /* box-shadow: 0 4px 32px 0 rgba(0,0,0,0.06); */
}

.homepageFaqsArea {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
    padding: 32px 24px 24px 24px;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.homeFaqsRow {
    /* background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%); */
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    padding: 24px 20px 18px 20px;
    margin-bottom: 28px;
    transition: box-shadow 0.18s, transform 0.18s;
    display: block;
    min-height: 180px;
    display: flex;
    justify-content: flex-start;
    height: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.homeFaqsRow:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 123, 255, 0.10);
    transform: translateY(-4px) scale(1.01);
}

.homefaq-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-align: left !important;
}

.homeFaqsRow p {
    color: #495057;
    font-size: 1.05rem;
    margin-bottom: 0;
    text-align: left;
}

@media (min-width: 992px) {
    .row>.col-lg-6>.homeFaqsRow {
        height: 100%;
    }

    .row>.col-lg-6 {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

@media (max-width: 991px) {
    .homepageFaqsArea {
        padding: 24px 12px 16px 12px;
    }

    .faq-main-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .homeFaqsRow {
        min-height: 140px;
    }
}

@media (max-width: 767px) {
    .homepageFaqsAreaMain {
        border-radius: 10px;
        padding: 10px 0 5px 0;
    }

    .homepageFaqsArea {
        border-radius: 8px;
        padding: 10px 4px 8px 4px;
    }

    .faq-main-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .homeFaqsRow {
        padding: 14px 8px 10px 8px;
        margin-bottom: 16px;
        min-height: 100px;
    }
}

/* Add custom styles below this line */

.ip-tlds-stripped-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    padding: 0;
    table-layout: fixed;
    min-width: 100%;
    max-width: 100%;
}

.ip-tlds-stripped-table tr {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.ip-tlds-stripped-table tr:nth-child(even) {
    background: #dee2e6;
}

.ip-tlds-stripped-table td {
    width: 50%;
    vertical-align: middle;
    padding: 10px 8px;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    max-width: 100%;
}

.ip-tlds-stripped-table td.ip-tlds-label {
    font-weight: 600;
}

@media (max-width: 600px) {
    .ip-tlds-stripped-table td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 8px 6px;
    }

    .ip-tlds-stripped-table tr {
        display: block;
        width: 100%;
    }
}

.ip-tlds-stripped-table>li {
    display: table-row;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
}

.ip-tlds-row {
    display: table-row;
    width: 100%;
}

.ip-tlds-label,
.ip-tlds-value {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding: 10px 8px;
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 600px) {

    .ip-tlds-label,
    .ip-tlds-value {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 8px 6px;
    }

    .ip-tlds-row {
        display: block;
        width: 100%;
    }
}

.ip-tlds-stripped-table>li:nth-child(even) {
    background: #f8f9fa;
}

.ip-tlds-stripped-table .row {
    display: table-row;
    margin: 0;
    padding: 0;
}

.ip-tlds-stripped-table .col-lg-4,
.ip-tlds-stripped-table .col-lg-8 {
    display: table-cell;
    vertical-align: middle;
    padding: 10px 8px;
    border: none;
    width: 50%;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-line;
    box-sizing: border-box;
    max-width: 100%;
}

.ip-tlds-stripped-table .left-extension {
    font-weight: 600;
}

.ip-tlds-stripped-table pre.whoisText {
    background: transparent;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    font-size: 1em;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
}

@media (max-width: 600px) {

    .ip-tlds-stripped-table .col-lg-4,
    .ip-tlds-stripped-table .col-lg-8 {
        display: block;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .ip-tlds-stripped-table>li {
        display: block;
    }
}


.result-list {
    display: block;
    max-width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.whois-result-list {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.result-list>li {
    display: block;
    /* margin: 0; */
    padding: 10px;
    overflow: visible;
    /* border: none; */
}

.result-list>li strong {
    display: inline-flex;
    align-items: center;
    gap: 0.05em;
}

.result-list>li strong svg {
    margin-right: 0.05em;
    vertical-align: middle;
}



.whois-info-title {
    font-size: 1.0rem;
    color: #fff;
}

.whois-heading-separator {
    border: 0;
    border-bottom: 2px solid #e3e3e3;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

/* Custom Styles */
.recent-search-list {
    margin: 0;
    padding: 0;
}

.recent-search-list li {
    margin-bottom: 6px;
    list-style: none;
}

.recent-search-link {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid #ececec;
    border-radius: 6px;
    transition: background 0.15s, box-shadow 0.15s;
    color: #222;
    background: #fff;
    text-decoration: none;
}

.recent-search-link:hover {
    background: #f5f7fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: #007bff;
    text-decoration: none;
}

.recent-search-link img {
    margin-right: 8px;
    border-radius: 3px;
}

.recent-search-btn.btn-search {
    background: linear-gradient(90deg, #1e90ff 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 0;
    margin-top: 10px;
    transition: background 0.15s;
}

.recent-search-btn.btn-search:hover,
.recent-search-btn.btn-search:focus {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    text-decoration: none;
}

/* Dark Mode Toggle Switch Styles */

/* Blocklist & Ports Results Area Styles */
.blocklist-results-area {
    margin-top: 24px;
}

.blocklist-col {
    min-width: 220px;
}

.blocklist-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 15px;
}

.blocklist-domain {
    flex: 1;
    text-align: left;
    overflow-wrap: anywhere;
}

.blocklist-status {
    min-width: 60px;
    text-align: right;
    font-weight: 500;
}

.toggle-checkbox {
    display: none;
}

.toggle-slot {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: var(--checkbox-border);
    border-radius: 25px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.toggle-checkbox:checked+.toggle-slot {
    background-color: var(--primary-color);
}

.toggle-slot .toggle-button {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-checkbox:checked+.toggle-slot .toggle-button {
    transform: translateX(25px);
}

.sun-icon-wrapper,
.moon-icon-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.sun-icon-wrapper {
    left: 5px;
    color: #FDB23E;
}

.moon-icon-wrapper {
    right: 5px;
    color: #ffffff;
}

.sidebar-width {
    max-width: 350px !important;
    width: auto !important;
    overflow-x: hidden;
    background-color: #007bff;
}

.searchCross {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    padding-right: 5px;
}

/* =====================================================
   RDAP Card Styles
   ===================================================== */

.rdap-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.10);
    border: 1px solid #e3eeff;
    background: #fff;
    padding: 24px 20px 20px;
}

/* Header row: protocol badge + domain name + status badges */
.rdap-header {
    padding-bottom: 4px;
}

.rdap-protocol-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #007bff, #0056d2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
    vertical-align: middle;
}

.rdap-domain-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.2px;
    word-break: break-all;
}

/* Status badge cluster */
.rdap-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rdap-status-badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.rdap-badge-active {
    background: rgba(25, 195, 125, 0.12);
    color: #0d9e63;
    border: 1px solid rgba(25, 195, 125, 0.3);
}

.rdap-badge-locked {
    background: rgba(0, 123, 255, 0.09);
    color: #0056d2;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.rdap-badge-pending {
    background: rgba(255, 165, 0, 0.12);
    color: #b37400;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.rdap-badge-default {
    background: rgba(108, 117, 125, 0.09);
    color: #495057;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

/* Info blocks (label + value pairs) */
.rdap-info-block {
    background: #f4f8ff;
    border: 1px solid #dde9fc;
    border-radius: 8px;
    padding: 10px 14px;
    height: 100%;
}

.rdap-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #007bff;
    margin-bottom: 4px;
}

.rdap-info-value {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1a1a2e;
    word-break: break-word;
}

.rdap-expiry .rdap-info-value {
    color: #c0392b;
}

/* Section blocks (nameservers, registrant) */
.rdap-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #007bff;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e3eeff;
}

/* Nameserver grid */
.rdap-ns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.rdap-ns-item {
    background: #f4f8ff;
    border: 1px solid #dde9fc;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1a1a2e;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

/* GDPR redaction notice */
.rdap-gdpr-notice {
    display: inline-flex;
    align-items: center;
    background: rgba(108, 117, 125, 0.07);
    border: 1px dashed #adb5bd;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.82rem;
    color: #6c757d;
    font-style: italic;
}

@media (max-width: 767px) {
    .rdap-card {
        padding: 16px 12px;
    }
    .rdap-domain-name {
        font-size: 0.95rem;
    }
    .rdap-ns-grid {
        grid-template-columns: 1fr;
    }
    .rdap-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px !important;
    }
}

/* =====================================================
   Raw WHOIS Tab
   ===================================================== */

.whois-tab-nav {
    border-bottom: 2px solid rgba(255,255,255,0.08);
    padding-bottom: 6px;
    gap: 6px;
    flex-wrap: wrap;
}

.whois-tab-nav .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--bs-body-color, #555);
    background: rgba(0,0,0,0.04);
    border: 1px solid transparent;
    transition: all .18s ease;
}

.whois-tab-nav .nav-link.active,
.whois-tab-nav .nav-link:hover {
    background: var(--primary-color, #1a73e8);
    color: #fff !important;
    border-color: transparent;
}

.raw-whois-output {
    background: #0d1117;
    color: #c9d1d9;
    border-radius: 10px;
    padding: 20px;
    font-size: 0.8rem;
    line-height: 1.6;
    max-height: 520px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid #30363d;
}

.raw-whois-output::-webkit-scrollbar {
    width: 6px;
}
.raw-whois-output::-webkit-scrollbar-track { background: #161b22; }
.raw-whois-output::-webkit-scrollbar-thumb { background: #30363d; border-radius: 4px; }

/* =====================================================
   TLD Availability Check Block
   ===================================================== */

.tld-check-block {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 14px;
    padding: 20px 22px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tld-check-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color, #1a73e8);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(26,115,232,0.12);
    letter-spacing: 0.01em;
}

.tld-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.tld-check-card {
    background: var(--card-inner-bg, #f8fafc);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tld-check-card:hover {
    box-shadow: 0 4px 16px rgba(26,115,232,0.12);
    transform: translateY(-1px);
}

.tld-check-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--body-text, #1a1a2e);
    letter-spacing: 0.03em;
}

.tld-check-status {
    min-height: 22px;
}

/* Badges */
.tld-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

.tld-badge-loading {
    background: rgba(107,114,128,0.10);
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.tld-badge-available {
    background: rgba(16,185,129,0.10);
    color: #059669;
    border: 1px solid rgba(16,185,129,0.30);
}

.tld-badge-taken {
    background: rgba(239,68,68,0.08);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,0.25);
}

.tld-badge-error {
    background: rgba(245,158,11,0.08);
    color: #d97706;
    border: 1px solid rgba(245,158,11,0.25);
}

/* Loading spinner */
.tld-spinner {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #9ca3af;
    border-top-color: #6b7280;
    border-radius: 50%;
    animation: tld-spin 0.7s linear infinite;
    margin-right: 3px;
}

@keyframes tld-spin {
    to { transform: rotate(360deg); }
}

/* Action buttons */
.tld-check-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.tld-btn-whois {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: transparent;
    border: 1.5px solid var(--primary-color, #1a73e8);
    color: var(--primary-color, #1a73e8);
    text-decoration: none;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.tld-btn-whois:hover {
    background: var(--primary-color, #1a73e8);
    color: #fff;
}

.tld-btn-buy {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: #059669;
    border: 1.5px solid #059669;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.tld-btn-buy:hover {
    background: #047857;
    border-color: #047857;
}

@media (max-width: 575px) {
    .tld-check-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 8px;
    }
    .tld-check-block {
        padding: 14px 14px 16px;
    }
}


/* Header Dropdown Buttons UI Fix */
.header-dropdown-btn { width: auto; min-width: 90px; height: 35px; border-radius: 8px; font-weight: 500; cursor: pointer; border: 1px solid var(--border-color); background-color: var(--sidebar-bg); color: var(--text-dark); padding: 0 24px 0 12px; font-size: 14px; text-align: left; }
.header-dropdown-menu-wrapper { top: 100%; right: 0; z-index: 1050; min-width: 120px; border-radius: 8px; border: 1px solid var(--border-color); background-color: var(--sidebar-bg); max-height: 250px; overflow-y: auto; padding: 4px; }

/* Theme Toggle Accessibility Focus */
#toggle_mode:focus-visible + .toggle-slot { outline: 2px solid var(--primary-color); outline-offset: 2px; }

/* TLD Checker Card Status Styling */
.tld-check-card.tld-status-available {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border-color: #86efac !important;
}
.tld-check-card.tld-status-available .tld-check-name {
    color: #14532d !important;
}
.tld-check-card.tld-status-available .tld-check-price {
    color: #15803d !important;
}
.tld-check-card.tld-status-available .tld-badge-available {
    background: #22c55e !important;
    color: #ffffff !important;
    border: 1px solid #16a34a !important;
}

.tld-check-card.tld-status-taken {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border-color: #fca5a5 !important;
}
.tld-check-card.tld-status-taken .tld-check-name {
    color: #7f1d1d !important;
}
.tld-check-card.tld-status-taken .tld-check-price {
    color: #b91c1c !important;
}
.tld-check-card.tld-status-taken .tld-badge-taken {
    background: #ef4444 !important;
    color: #ffffff !important;
    border: 1px solid #dc2626 !important;
}

