body {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 20px;
    background-color: #000000;
    color: #FFFFFF;
}

.container {
    max-width: 700px;
    background-color: #1C2526;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0 auto 20px;
}

.static-table {
    width: 100%;
    max-width: 950px;
    background-color: #1C2526;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0 auto;
    overflow-x: auto;
}

h1, .static-table h2 {
    color: #FFCA28;
    text-align: center;
    margin: 0 0 20px 0;
}

    .input-group {
        margin: 20px 0;
        text-align: center;
    }

 input[type="number"] {
        padding: 8px;
        font-size: 16px;
        width: 200px;
        border: 1px solid #B0BEC5; /* Light Gray border */
        border-radius: 4px;
        background-color: #1C2526; /* Dark Gray background */
        color: #FFFFFF; /* White text */
    }

    input[type="number"]::placeholder {
        color: #B0BEC5; /* Light Gray placeholder */
    }

    .instruction {
        margin: 10px 0;
        text-align: center;
        color: #B0BEC5; /* Light Gray for instruction text */
        font-size: 14px;
    }

    .results {
        margin-top: 20px;
        line-height: 1.6;
    }

    .result-item {
        padding: 10px;
        background-color: #2A3638; /* Slightly lighter Dark Gray for result items */
        margin: 5px 0;
        border-radius: 4px;
        word-break: break-all;
        color: #FFFFFF; /* White text */
    }

    .label {
        font-weight: bold;
        color: #FFCA28; /* Soft gold for labels */
    }

.instruction, .results, .result-item {
    /* Existing styles remain unchanged */
}

/* Tooltip styles */
.hash-icon {
    cursor: pointer;
    color: #FFCA28;
    position: relative;
    display: inline-block;
}

.hash-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2A3638;
    color: #FFFFFF;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1;
    min-width: 200px; /* Ensure tooltip is wide enough for hash */
    word-break: break-all;
}

.hash-icon:hover::after {
    visibility: visible;
    opacity: 1;
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #B0BEC5;
    color: #FFFFFF;
}

th {
    background-color: #2A3638;
    font-weight: bold;
    color: #FFCA28;
    white-space: nowrap;
}

td {
    word-break: break-word;
    max-width: 0;
}

th:nth-child(1), td:nth-child(1) { min-width: 130px; } /* Integer */
th:nth-child(2), td:nth-child(2) { width: 100%; } /* Hash */
th:nth-child(3), td:nth-child(3) { min-width: 80px; } /* Date */
th:nth-child(4), td:nth-child(4) { min-width: 120px; } /* Hashrate */
th:nth-child(5), td:nth-child(5) { min-width: 80px; } /* Leading 0 Bits */
th:nth-child(6), td:nth-child(6) { min-width: 120px; } /* X Handle */

tr:hover {
    background-color: #2A3638;
}

a {
    color: #1DA1F2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Mobile-specific styles */
@media (max-width: 600px) {
    table {
        min-width: 400px; /* Reduced minimum width since hash is hidden */
    }

    th:nth-child(2), td:nth-child(2) { /* Hash column */
        width: auto;
        min-width: 40px; /* Space for icon */
    }

    .hash-full {
        display: none; /* Hide full hash text */
    }

    .hash-icon {
        display: inline-block; /* Show icon */
    }
}

/* Desktop-specific styles */
@media (min-width: 601px) {
    .hash-icon {
        display: none; /* Hide icon on desktop */
    }

    .hash-full {
        display: inline-block; /* Show full hash */
    }
}

.higlight, .higlight-item {
    /* Existing styles remain unchanged */
}

@media (min-width: 768px) {
    .container, .static-table {
        padding: 30px;
    }
    th, td {
        padding: 15px;
    }
}