.dns-lookup-bg {
    background: linear-gradient(180deg, #100025 40%, #110141 100%), #D9D9D9;
    transition: background 0.3s ease-in-out;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dns-lookup-bg-stars {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0 auto;
    padding: 50px 150px;
}

.dns-lookup-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 3rem 0 3rem 0;
    height: auto;
    min-height: 650px;
    flex: 1;
}

.dns-lookup-card {
    position: relative;
    background: #1e1e2f;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    width: 100%;
    border: none;
}

.dns-lookup-card:hover {
    box-shadow: 1px 1px 5px 2px #6E00FF;
}

.dns-lookup-result-card {
    position: relative;
    background: #1E1E2F;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    width: 100%;
}

.dns-lookup-result-card:hover {
    box-shadow: 1px 1px 5px 2px #6E00FF;
}

.dns-lookup-card-header {
    padding: 2rem 2rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.dns-lookup-card-header span {
    color: #fff;
    font-size: 24px;
    letter-spacing: 0.5px;
    font-weight: 800;
    margin-right: 10px;
}

.dns-lookup-domain-display {
    color: #6E00FF !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: 'Monaco', 'Consolas', monospace !important;
    background: #272737;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #39394e;
}

.dns-lookup-card-content {
    padding: 2rem;
}

.dns-lookup-result-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

/* Input Sections */
.dns-lookup-input-section {
    margin-bottom: 1.5rem;
}

.dns-lookup-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dns-lookup-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dns-lookup-input {
    width: 100%;
    min-height: 45px;
    border: 2px solid #39394e;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    background: #272737;
    color: #fff;
}

.dns-lookup-input:focus {
    outline: none;
    border-color: #6E00FF;
    box-shadow: 0 0 0 2px rgba(110, 0, 255, 0.2);
}

.dns-lookup-input::placeholder {
    color: #9ca3af;
}

/* Loading */
.dns-lookup-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: #6E00FF;
    font-weight: 600;
}

.dns-lookup-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #39394e;
    border-top: 3px solid #6E00FF;
    border-radius: 50%;
    animation: dns-lookup-spin 1s linear infinite;
}

@keyframes dns-lookup-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Options */
.dns-lookup-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.dns-lookup-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #1f2937;
    border-radius: 8px;
    padding: 10px 16px;
    color: #f9fafb;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
    width: fit-content;
}

.dns-lookup-option:hover {
    background-color: #374151;
}

.dns-lookup-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dns-lookup-option span {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.dns-lookup-option span::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #9ca3af;
    display: inline-block;
    transition: background-color 0.3s, border-color 0.3s;
    border-radius: 4px;
    background-color: #111827;
}

.dns-lookup-option input[type="checkbox"]:checked + span::before {
    background-color: #10b981;
    border-color: #10b981;
}

/* Button Groups */
.dns-lookup-button-group {
    display: flex;
    gap: 1rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #6E00FF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.primary-button:hover {
    background-color: #5900cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-button:disabled {
    background-color: #39394e;
    cursor: not-allowed;
    transform: none;
}

/* DNS Results Table */
.dns-lookup-results-section {
    background: #272737;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #39394e;
    margin-bottom: 1rem;
}

.dns-lookup-table-container {
    overflow-x: auto;
}

.dns-lookup-table {
    width: 100%;
    border-collapse: collapse;
    background: #1f2937;
    border-radius: 8px;
    overflow: hidden;
}

.dns-lookup-table th {
    background: #6E00FF;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.dns-lookup-table td {
    padding: 1rem;
    border-bottom: 1px solid #39394e;
    color: #fff;
    font-size: 13px;
    vertical-align: top;
}

.dns-lookup-table tbody tr:last-child td {
    border-bottom: none;
}

.dns-lookup-table tbody tr:hover {
    background: #272737;
}

.dns-record-type {
    width: 15%;
    min-width: 80px;
}

.dns-record-value {
    width: 70%;
}

.dns-record-count {
    width: 15%;
    text-align: center;
    min-width: 60px;
}

.dns-record-type-badge {
    background: #6E00FF;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Monaco', 'Consolas', monospace;
    display: inline-block;
    min-width: 50px;
    text-align: center;
}

.dns-record-values {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dns-record-item {
    background: #272737;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #39394e;
    font-family: 'Monaco', 'Consolas', monospace;
    word-break: break-all;
    font-size: 12px;
}

.dns-record-count-badge {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

.dns-record-empty {
    color: #9ca3af;
    font-style: italic;
    text-align: center;
}



/* Result Messages */
.dns-lookup-result {
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    animation: dns-lookup-fade 0.3s ease;
}

@keyframes dns-lookup-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dns-lookup-result-error {
    background: #d52e08;
    color: #ffff;
    margin: 0 1rem;
}

.dns-lookup-result-success {
    background: #36B37E;
    color: #ffff;
    margin: 0 1rem;
}

/* Content and FAQ */
.tool-dns-lookup-content-page {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
}

.tool-dns-lookup-content-page ul li {
    list-style-type: initial;
    margin-left: 15px;
}

.tool-dns-lookup-content-page ol li {
    list-style-type: initial;
    margin-left: 15px;
}

.dns-lookup-faq-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}

.dns-lookup-faq-item {
    margin-bottom: 8px;
}

.dns-lookup-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 24px 0;
    font-size: 18px;
    color: #100025;
    font-weight: 500;
    line-height: 28px;
    font-family: 'Inter', sans-serif;
}

.dns-lookup-faq-answer {
    display: none;
    font-size: 16px;
    font-weight: 400;
    color: #6E7D88;
    line-height: 24px;
}

.dns-lookup-divider {
    border: 0;
    border-top: 0.1px solid #EEE;
    margin: 0;
}

/* Navbar and Mobile Styles */
.dns-lookup-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    width: 100%;
}

.dns-lookup-navbar h1 {
    color: white;
    font-size: 20px;
}

.dns-lookup-coderspace-log-in-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    color: #6E00FF;
    border: none;
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dns-lookup-coderspace-log-in-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.dns-lookup-mobile-navbar {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    width: 100%;
}

.dns-lookup-menu-icon {
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.dns-lookup-mobile-navigation-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #1e1e2f;
    z-index: 1000;
    transition: height 0.3s ease;
    overflow: hidden;
}

.dns-lookup-mobile-navigation-menu.show {
    height: 200px;
}

.dns-lookup-mobile-navigation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    height: 100%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dns-lookup-mobile-navigation-menu.show .dns-lookup-mobile-navigation-content {
    opacity: 1;
}

.dns-lookup-mobile-navigation-logo {
    width: 150px;
}

.dns-lookup-navigation-login-btn {
    background: #6E00FF;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.dns-lookup-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 24px 0;
    color: white;
}

.dns-lookup-timer-breadcrumb-tools {
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    letter-spacing: -0.4px
}

.dns-lookup-timer-breadcrumb {
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1330px) {
    .dns-lookup-wrapper {
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .dns-lookup-bg-stars {
        padding: 50px 100px;
    }

    .dns-lookup-table th,
    .dns-lookup-table td {
        padding: 0.75rem 0.5rem;
        font-size: 12px;
    }
}

@media (max-width: 850px) {
    .dns-lookup-card-header span {
        font-size: 20px;
    }

    .dns-lookup-navbar h1 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .dns-lookup-navbar {
        display: none;
    }

    .dns-lookup-mobile-navbar {
        display: flex;
    }

    .dns-lookup-bg-stars {
        padding: 50px 80px;
    }

    .dns-lookup-wrapper {
        gap: 20px;
        height: auto;
    }

    .dns-lookup-button-group {
        flex-direction: column;
    }

    .dns-lookup-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .dns-lookup-domain-display {
        align-self: stretch;
        text-align: center;
    }



    .dns-lookup-result-content {
        max-height: none;
    }

    .dns-lookup-table th,
    .dns-lookup-table td {
        padding: 0.5rem 0.25rem;
        font-size: 11px;
    }

    .dns-record-item {
        padding: 0.25rem 0.5rem;
        font-size: 10px;
    }
}

@media (max-width: 580px) {
    .dns-lookup-bg-stars {
        padding: 50px 50px;
    }

    .dns-lookup-card-content {
        padding: 1rem;
    }

    .dns-lookup-card-header {
        padding: 1rem 1rem 0 1rem;
        text-align: center;
    }

    .dns-lookup-card-header span {
        font-size: 18px;
    }

    .dns-lookup-options {
        flex-direction: column;
        align-items: flex-start;
    }



    .dns-lookup-result-content {
        padding: 1rem;
    }

    .dns-lookup-wrapper {
        margin: 1rem 0 3rem 0;
    }

    .dns-lookup-table-container {
        font-size: 10px;
    }

    .dns-record-type {
        min-width: 60px;
    }

    .dns-record-count {
        min-width: 40px;
    }
}

@media (max-width: 450px) {
    .dns-lookup-bg-stars {
        padding: 50px 20px;
    }

    .dns-lookup-domain-display {
        font-size: 14px !important;
        padding: 6px 8px;
    }
}
