#loading {
    width: 100%;
    max-width: 80vw;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: white;
    text-align: center;
    height: 100px;
    transition: height 0.3s ease-in-out;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#tokenData {
    font-size: 20px;
    width: 100%;
    max-width: 80vw;
    margin: 20px auto;
    padding: 30px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: white;
    text-align: left;
    height: auto;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Loader */
.loader {
    width: 50px;
    --b: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(#0000 10%, #f03355) content-box;
    -webkit-mask: repeating-conic-gradient(#0000 0deg,
            #000 1deg 20deg,
            #0000 21deg 36deg),
        radial-gradient(farthest-side,
            #0000 calc(100% - var(--b) - 1px),
            #000 calc(100% - var(--b)));
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    animation: l4 1s infinite steps(10);
}

#loading_table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader_table {
    width: 60px;
    aspect-ratio: 4;
    --c: #000 90%, #0000;
    background:
        radial-gradient(circle closest-side at left 6px top 50%, var(--c)),
        radial-gradient(circle closest-side, var(--c)),
        radial-gradient(circle closest-side at right 6px top 50%, var(--c));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: l4 1s infinite alternate;
}

@keyframes l4 {
    to {
        width: 25px;
        aspect-ratio: 1
    }
}

@keyframes l4 {
    to {
        transform: rotate(1turn);
    }
}

/* Input and button styling */
#inputWrapper {
    margin: 20px 0;
}


#fetchTokenData {
    padding: 12px 20px;
    font-size: 16px;
    margin-left: 10px;
    border-radius: 5px;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#fetchTokenData:hover {
    background-color: #0056b3;
}

ul {
    padding-left: 20px;
    list-style: none;
    margin: 0;
}

li {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

#freezable,
#mintable {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #333;
}

#freezable i,
#mintable i {
    margin-left: 10px;
}

#topHoldersList {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

#topHoldersList li {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#topHoldersList li a {
    color: #333;
    font-weight: normal;
}

#topHoldersList li:hover a {
    color: #0056b3;
}

#tokenData {
    background-color: #f9f9f9;
}

#tokenData p {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Section Header styling */
#inputWrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

#inputWrapper input {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#fetchTokenData {
    padding: 12px 25px;
    border-radius: 5px;
    background-color: #4CAF50;
}

#fetchTokenData:hover {
    background-color: #45a049;
}

/* General styles */
#tokenData {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#tokenData h3,
h4 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

#tokenData p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Icon styles */
#tokenData i {
    margin-right: 10px;
}

/* Styling for links */
a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Top holders list */
#topHoldersList {
    list-style-type: none;
    padding-left: 0;
}

#topHoldersList li {
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}

#topHoldersList li a {
    color: #007bff;
    text-decoration: none;
}

#topHoldersList li a:hover {
    text-decoration: underline;
}

/* Custom colors for each section */
h3 {
    color: #007bff;
}

h4 {
    color: #333;
}

/* Color for Security Check */
h4 i {
    color: #28a745;
}

/* Color for Developer Check */
h4 i {
    color: #ffc107;
}

/* Color for Top 10 Holders */
h4 i {
    color: #17a2b8;
}

/* custom-tabs.css */

.custom-tabs {
    width: 100%;
    max-width: 80vw;
    margin: 20px auto;
    padding: 10px;
    border-radius: 8px;
}

.custom-tabs .tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #444;
}

.custom-tabs .tab-button {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: center;
    transition: color 0.3s, border-bottom 0.3s;
    font-size: larger;
    font-weight: 700;
}

.custom-tabs .tab-button:hover {
    color: #0f13f0;
}

.custom-tabs .tab-button.active {
    color: #005f8f;
    border-bottom: 2px solid #005f8f;
}

.custom-tabs .tab-content {
    max-width: 80vw;
    display: none;
    padding: 20px;
    border-radius: 5px;
    margin-top: 10px;
}

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

.custom-tabs .table {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    font-size: 0.9rem;
    border-collapse: collapse;
}

.custom-tabs .table th,
.custom-tabs .table td {
    padding: 8px;
    text-align: left;
    white-space: nowrap;
}

.custom-tabs .tab-content {
    overflow-x: auto;
}

.custom-tabs .table thead {
    background-color: #444;
    color: #fff;
}

.custom-tabs .table th {
    font-weight: 600;
    font-size: 0.95rem;
}

.custom-tabs .table td {
    font-size: 0.9rem;
}

.custom-tabs .tab-content {
    overflow-x: auto;
    padding: 0;
}

.custom-tabs .table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    font-size: 0.9rem;
}

.custom-tabs .table th,
.custom-tabs .table td {
    white-space: nowrap;
    padding: 8px;
}

#copyContract,
#copyDeployer {
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    /* Tablets */
    #tokenData h3,
    #tokenData h4 {
        font-size: 1.4rem;
        /* Slightly smaller font for tablets */
    }

    #tokenData p {
        font-size: 0.95rem;
        /* Adjust paragraph text for tablets */
    }
}

@media (max-width: 768px) {

    /* Tablets and smaller screens */
    #tokenData h3,
    #tokenData h4 {
        font-size: 1.2rem;
        /* Smaller font for tablets */
    }

    #tokenData p {
        font-size: 0.9rem;
        /* Smaller font for paragraphs */
    }

    .custom-tabs .tabs {
        font-size: 1.2rem;
    }

    .custom-tabs .tab-button {
        padding: 5px;
        font-size: 1.2rem;
        font-weight: 500;
    }
}

@media (max-width: 600px) {

    /* Mobile phones */
    #tokenData h3,
    #tokenData h4 {
        font-size: 1.1rem;
        /* Even smaller font for mobile */
    }

    #tokenData p {
        font-size: 0.85rem;
        /* Smaller font for mobile */
    }

    .custom-tabs .table {
        font-size: 0.8rem;
    }

    .custom-tabs .table th,
    .custom-tabs .table td {
        padding: 6px;
    }

    #tokenData {
        width: 100%;
        max-width: 90vw;
        margin: 10px auto;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .custom-tabs .tab-button {
        padding: 3px;
        font-size: 1rem;
    }

    /* Small mobile screens */
    #tokenData h3,
    #tokenData h4 {
        font-size: 1rem;
        /* Adjust font size even smaller for very small screens */
    }

    #tokenData p {
        font-size: 0.8rem;
        /* Adjust font size even smaller for very small screens */
    }
}