/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    outline : none;
    text-decoration : none;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #fff;
    padding: 20px;
    line-height : 1.5;
    font-size : 16px;
}

header {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul li {
    display: inline-block;
    margin-right: 20px;
}

ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

ul li a:hover {
    color: #61dafb;
    text-decoration: underline;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #61dafb;
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: translateY(-5px); /* Lift */
    text-shadow: 0 0 15px rgba(129, 156, 214, 0.905);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1f1f1f;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #61dafb;
}

th, td {
    padding: 20px;
    border-bottom: 1px solid #444;
    text-align: center;
    transition: background-color 0.3s ease;
}

th {
    background-color: #61dafbbc; /* Blue */
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #222;
}

tbody tr:hover {
    background-color: #85dcf40a;
    transform: scale(1.02);
    transition: transform 0.5s ease; /* Smooth transitions */
    box-shadow: 0px 0px 20px 0px rgba(129, 156, 214, 0.582);
}

.coin-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFC107; /* Yellow */
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.coin-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.coin-icon:hover {
    transform: scale(1.1) rotate(360deg);
}

.chart-container {
    margin-top: 30px;
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.chart-container canvas {
    width: 100%;
    height: 300px; /* Adjust height as needed */
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #61dafb;
}

@media screen and (max-width: 768px) {
    table {
        font-size: 14px;
    }

    .coin-icon {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: 36px;
    }

}
/* Add this CSS to make the graph area white */
.chart-container {
    background-color: #fff; /* Set the background color to white */
}
/* Add this CSS to make the text in the graph black */
.apexcharts-text {
    fill: #000; /* Set the fill color to black */
}

/* Add this CSS to change the color of the tooltip text to black */
.apexcharts-tooltip {
    color: #000; /* Set the color to black */
}

/* Add this CSS to change the color of the "Update" button to blue */
.update-button {
    background-color: #007bff; /* Set the background color to blue */
    color: #fff; /* Set the text color to white */
}
/* Add these CSS classes to change the color of numbers based on their sign */
.positive-change {
    color: green;
}

.negative-change {
    color: red;
}
.apexcharts-menu-item {
    color: black !important;
}

