.host-info {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #100e0e;
    border: 1px solid #2a970e;
    border-radius: 4px;
    color: #00FF00;
}

.host-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.host-header h2 {
    color: #00FF00;
    margin: 0;
}

.add-watchlist {
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.detail-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.detail-group {
    display: flex;
    gap: 10px;
}

.detail-label {
    color: #00FF00;
}

.detail-value {
    color: #009900;
}

.ports-section {
    margin: 20px 0;
}

.ports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
}

.left-header, .right-header {
    flex: 1;
    display: flex;
    align-items: center;
    height: 40px;
}

.left-header {
    justify-content: flex-start;
    padding-left: 15px;
}

.right-header {
    justify-content: flex-start;
    padding-left: 15px;
}

.section-title {
    color: #54aa24;
    font-size: 1em;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    font-weight: normal;
}


/* Remove the underline effect since it's not in the image */
.s.section-headers ection-title::after {
    display: none;
}

@media screen and (max-width: 768px) {
    /* .section-headers {
        flex-direction: column;
    } */

    .left-header, .right-header {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .right-header {
        justify-content: flex-start;
    }
}

.port-tab {
    padding: 5px 10px;
    cursor: pointer;
    color: #888;
}

.port-tab.active {
    color: #54aa24;
    border-bottom: 2px solid #54aa24;
}

.port-list {
    display: flex;
    gap: 10px;
}

.port {
    background-color: #1a2c13;
    color: #2caf0f;
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.port:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    background-color: #00FF00;
}

.port:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 1s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.domain-section {
    margin-top: 20px;
}

.domain-container {
    display: flex;
    gap: 20px;
}

.domain-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Add custom scrollbar styling */
.domain-list::-webkit-scrollbar {
    width: 6px;
}

.domain-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.domain-list::-webkit-scrollbar-thumb {
    background: #54aa24;
    border-radius: 3px;
}

/* For Firefox */
.domain-list {
    scrollbar-width: thin;
    scrollbar-color: #54aa24 #1a1a1a;
}

@media screen and (max-width: 768px) {
    .domain-list {
        max-height: 300px;
        padding-right: 5px;
    }
}

.web-info {
    flex: 1;
    background-color: #0d1510;  /* Darker shade for better contrast */
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #2a970e;
}

.banner-response {
    background-color: #0a2214;  /* Even darker for nested content */
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.domain-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 8px;
    background-color: #0d1510;  /* Match web-info background */
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid #2a970e;
}

.domain-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    background-color: #131f15;  /* Slightly lighter on hover */
}

.domain-item:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px;
    background-color: #1a2c13;
    color: #00FF00;
    border: 1px solid #00FF00;
    border-radius: 4px;
    font-size: 0.9em;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.domain-name {
    color: #54aa24;
    display: flex;
    align-items: center;
    gap: 8px;
}

.domain-link {
    color: #00FF00;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.domain-link:hover {
    background-color: #1a2c13;
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.domain-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.domain-status {
    color: #54aa24;
}

.domain-date {
    color: #888;
    margin-left: auto;
}

.web-info-tabs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    border-bottom: 1px solid #333;
}

.web-tab {
    padding: 8px 16px;
    cursor: pointer;
    color: #54aa24;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.web-tab.active {
    color: #54aa24;
    border-bottom: 2px solid #5efa06;
    animation: tabColorPulse 2s infinite;
}

.info-group{
    padding: 8px;
    border: 1px solid #2a970e;
}

@keyframes tabColorPulse {
    0% {
        color: #54aa24;
    }
    50% {
        color: #00FF00;
    }
    100% {
        color: #54aa24;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Base styles remain the same */

/* Responsive styles for tablets and mobile devices */
@media screen and (max-width: 768px) {
    .host-info {
        margin: 10px;
        padding: 15px;
    }

    .detail-row {
        flex-direction: column;
        gap: 10px;
    }

    .detail-group {
        width: 100%;
    }

    .ports-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .port-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .domain-container {
        flex-direction: column;
    }

    .web-info {
        margin-top: 20px;
    }

    .domain-item {
        flex-wrap: wrap;
    }

    .domain-date {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
        font-size: 0.8em;
    }
}

/* Additional adjustments for very small screens */
@media screen and (max-width: 480px) {
    .host-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .add-watchlist {
        width: 100%;
        text-align: center;
    }

    .port-list {
        flex-wrap: wrap;
    }

    .port {
        min-width: 60px;
        text-align: center;
    }

    .web-info-tabs {
        flex-wrap: wrap;
    }

    .web-tab {
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 8px 8px;  /* Reduced padding */
    }

    .web-info {
        padding: 10px;  /* Reduced padding */
        margin-top: 10px;
        width: 100%;  /* Full width */
        box-sizing: border-box;  /* Include padding in width calculation */
    }

    .domain-container {
        flex-direction: column;
        width: 100%;
    }

    .domain-list {
        width: 100%;
    }

    .domain-item {
        width: 100%;
        box-sizing: border-box;
    }

    .banner-response {
        font-size: 0.8em;
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
    }

    .banner-response pre {
        max-height: 200px;
        overflow-y: auto;
        white-space: pre-wrap;
        word-break: break-all;
    }

    .info-group {
        width: 100%;
    }

    .host-info {
        margin: 10px;
        padding: 10px;
        width: auto;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 768px) {
    .host-info {
        margin: 0;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .domain-container {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .domain-list {
        order: 1;
        width: 100%;
    }

    .web-info {
        order: 2;
        margin-top: 20px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        background-color: #1a2c13;  /* Updated to match new theme */
    }

    .web-info-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 10px;
        width: 100%;
        margin-top: 0;
        border-bottom: 1px solid #333;
    }

    .web-tab {
        white-space: nowrap;
        padding: 8px 12px;
        flex: 0 0 auto;
    }

    .banner-response {
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        background-color: #0a2214;
    }

    .banner-response pre {
        white-space: pre-wrap;
        word-break: break-word;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 480px) {
    .host-info {
        margin: 0;
        padding: 8px;
    }

    .web-info {
        padding: 8px;
        margin: 0;
    }

    .web-tab {
        padding: 6px 10px;
        font-size: 0.9em;
    }

    .banner-response {
        padding: 8px;
    }
}

.ip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.host-link {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.host-link svg {
    width: 16px;
    height: 16px;
    fill: #00FF00;
    transition: all 0.3s ease;
}

.host-link:hover svg {
    fill: #54aa24;
    transform: scale(1.1);
}

.host-link:hover {
    background-color: #1a2c13;
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.copy-popup {
    position: fixed;
    background-color: #1a2c13;
    color: #00FF00;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #2a970e;
    z-index: 9999;
    animation: fadeInOut 2s ease-in-out;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.2);
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -90%);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -100%);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -100%);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -110%);
    }
}

.ip-port {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button svg {
    width: 14px;
    height: 14px;
    fill: #00FF00;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: #1a2c13;
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.copy-button:hover svg {
    fill: #54aa24;
    transform: scale(1.1);
}