.wpc-popup-container {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Existing styles */
.wpc-plugin-container {
    font-family: Arial, sans-serif;
    font-size: 16px;
}

body {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
}

.wpc-add-to-compare, .wpc-remove-from-compare, .wpc-compare, .wpc-view-course-button, .wpc-remove-from-compare-compare {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    background-color: #d0fafa !important; /* Use the button background color from the theme */
    color: inherit !important; /* Use the button text color from the theme */
    border: 1px solid inherit !important; /* Use the button border color from the theme */
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-top: 5px !important;
    margin-bottom: 20px !important;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 14px !important;
    border-radius: 5px !important; /* Rounded border with 5px radius */
    cursor: pointer !important;
    transition-duration: 0.4s !important; /* Animation duration */
    height: 20px !important; /* Ensure consistent height */
    line-height: 0px !important;
}

.wpc-add-to-compare {
    height: 20px !important; /* Ensure consistent height */
}

.wpc-add-to-compare:hover, .wpc-remove-from-compare:hover, .wpc-compare:hover, .wpc-view-course-button:hover, .wpc-remove-from-compare-compare:hover {
    background-color: inherit; /* Use the hover background color from the theme */
    color: inherit; /* Use the hover text color from the theme */
    border-color: inherit; /* Use the hover border color from the theme */
}



.wpc-comparison-container {
    overflow-x: auto;
    margin-bottom: 20px; /* Adjust as needed */
}

.wpc-comparison-table {
    max-width: 100%;
    height: auto;
    border-collapse: collapse;
    table-layout: auto; /* Let the table layout adjust automatically */
    border: 1px solid #D3D3D3; /* Add grey border to the table */
}

.wpc-comparison-table th, .wpc-comparison-table td {
    padding: 3px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #D3D3D3; /* Add grey border to table cells */
}

.wpc-comparison-table th {
    background-color: inherit; /* Use the background color from the theme */
    font-weight: bold; /* Use bold font for the header */
    position: sticky;
    top: 0;
    z-index: 1; /* Ensure the header is above other content */
}

.wpc-comparison-table tr:nth-child(even) {
    background-color: inherit; /* Use the background color from the theme */
}

.wpc-comparison-table img {
    max-width: 100%;
    min-width: 270px;
    height: auto; /* Ensure images maintain aspect ratio */
}

.wpc-comparison-table td:first-child, .wpc-comparison-table th:first-child {
    background-color: #f0f0f0; /* Color the background of the first column */
}

/* This ensures column 2 and above always take 50% of the screen */
.wpc-comparison-table th:not(:first-child), .wpc-comparison-table td:not(:first-child) {
    width: 50%;
}

/* This ensures comparison table has a horizontal scrollbar - Not working!? */
/*
.wpc-comparison-table-wrapper {
    overflow-x: auto;
    white-space: nowrap;
}
*/




/* Custom alert box styling */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    border-radius: 5px; /* Rounded border with 5px radius */
}

.custom-alert .custom-alert-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-alert .custom-alert-message {
    font-size: 14px;
    margin-bottom: 20px;
}

.custom-alert .custom-alert-buttons {
    text-align: right;
}

.custom-alert .custom-alert-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.custom-alert .custom-alert-button:hover {
    background-color: #0056b3;
}

.star-rating span {
    color: #FFA500; /* Yellow-orange color */
}
