body {
    font-family: sans-serif;
    margin: 20px;
    font-size: 18px;
    color: #000000;
}

a {
    color: #cc3366; /* Normal link color */
    text-decoration: none; /* Removes underline from links */
}

a:visited {
    color: #cc3366; /* Color for visited links */
}

a:hover {
    color: #0056b3; /* Color when hovering over the link */
    text-decoration: underline; /* Adds underline on hover */
}

a:active {
    color: #004085; /* Color when the link is active (clicked) */
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-family: sans-serif;
    color: #cc3366;
    font-size: 2em;
    margin: 0;
}

h2 {
    font-family: sans-serif;
    color: #7f8c8d;
    font-size: 1em;
    margin: 10px 0;
}

.subtext {
    font-family: sans-serif;
    color: #7f8c8d;
    font-size: 0.8em;
    margin: 0 auto;
    max-width: 600px;
}

section {
    margin: 0 auto;
    max-width: none;
}

input[type="text"] {
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    max-width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

table {
    width: 65%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

tr:nth-child(even) {
    background-color: #f4f4f4; /* Color for even rows */
}

tr:nth-child(odd) {
    background-color: #ffffff; /* Color for odd rows */
}


th {
    background-color: #f4f4f4;
}

tr {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

tr:hover {
    background-color: #f0f0f0;
}

tr.selected {
    background-color: #d1e7dd;
}

.logo {
            width: 190px;           /* Set logo width */
            height: 95px;          /* Set logo height */
            object-fit: contain;     /* Maintain aspect ratio */
        }

/* Container for the chart */
.chart-container {
    max-width: 450px;
    margin: 20px auto; /* Center the container */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Style for the canvas */
canvas {
    display: block;
    width: 100% !important; /* Make the canvas responsive */
    height: auto !important;
}

/* Responsive styling */
@media (max-width: 600px) {
    h2 {
        font-size: 1.5em; /* Smaller heading on small screens */
    }
}

.price-alert-button {
            background-color: #4CAF50; /* Green background */
            border: none; /* No border */
            color: white; /* White text */
            padding: 15px 32px; /* Some padding */
            text-align: center; /* Centered text */
            text-decoration: none; /* No underline */
            display: inline-block; /* Make the button inline */
            font-size: 14px; /* Increase font size */
            margin: 4px 2px; /* Add some margin */
            cursor: pointer; /* Pointer cursor on hover */
            border-radius: 4px; /* Rounded corners */
        }


/* Grid/List Format Styles */
.deal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.deal-grid-item {
    width: 250px;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.deal-grid-item div {
    margin-bottom: 10px;
}

.no-deals {
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
}