#course_list {
    width: 100%;
    overflow-x: auto;
    /* For responsiveness */
    max-height: 100%;
    /* Set the maximum height for scrolling */
    overflow-y: auto;
    /* Enable vertical scrolling */
    /* border: 1px solid #ddd; */
}
#course_list_details{
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; /* Adjust for full background */
    width: 100%;
    height: 90vh; /* Adjust based on need */
    
}
#logo_blue{
    backdrop-filter: blur(5px);
    width: 100%;
    height: 90vh; /* Adjust based on need */
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    text-align: center;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    overflow: hidden;
    /* Ensures clean edges */
    border-radius: 10px;
    /* Rounded corners for table */
    
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5%;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

th {
    background-color: #f4f4f4;
    font-weight: bolder;
}

thead th {
    position: sticky;
    top: 0;
    background-color: #2C3E50;
    color: white;
    z-index: 2;
    /* Ensures it appears above other content */
}

/* Row hover effect */
tbody tr:hover {
    background-color: rgba(255, 140, 0, 0.2);
    /* Light Orange hover effect */
    transition: background-color 0.3s ease;
}

/* Alternate row colors for better readability */
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Responsive table */
@media (max-width: 768px) {

    th,
    td {
        padding: 8px;
        font-size: 14px;
        /* Smaller text for mobile */
    }
}

a {
    color: #6A0DAD;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
    color: #1E88E5;
}

#course_list_img {
    height: 50px;
    width: 50px;
    align-items: start;

}

/* Responsive Design */
@media (max-width: 768px) {

    th,
    td {
        font-size: 14px;
    }
}

#course_list div[id^="Detail:"] {
    background-color: #f9f9f9;
    /* Light background for better visibility */
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    /* Space between the details and the button */
    font-size: 0.95em;
    text-align: left;
    display: none;
    color: black;
}

button {
    border-radius: 10px 0 10px 0;
    padding: 1%;
    background-color: rgba(0, 0, 0, 0);
    color: black;
    border: 2px solid #FF8C00;
    /* Orange border for visibility */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
}

button:hover {
    color: white;
    background-color: #2ECC71;
    border-color: #2ECC71;
    /* Matching border */
    box-shadow: 4px 4px 10px rgba(46, 204, 113, 0.5);
    /* Glow effect */
    transform: scale(1.05);
    /* Slightly enlarges for interaction feedback */
}

#searchBar {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 20px;
    font-size: 20px;
    padding: 5px 0px 5px 20px;
    /*margin-top: 20px;*/
    border: 2px solid #FF8C00;
    /* Orange border for visibility */
    background-color: #fff;
    /* White background for better contrast */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    transition: all 0.3s ease-in-out;
}

/* Focus effect when clicking inside the search bar */
#searchBar:focus-within {
    border-color: #2ECC71;
    /* Green border when active */
    box-shadow: 4px 4px 12px rgba(46, 204, 113, 0.5);
    /* Light glow effect */
}

/* Search input field inside #searchBar */
#searchBar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 8px 10px;
    background: transparent;
}

/* Optional: If there's a search icon inside */
#searchBar i {
    font-size: 22px;
    color: #FF8C00;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

#searchBar i:hover {
    color: #2ECC71;
    /* Green on hover */
}

#offline_click {
    cursor: pointer;
}

#tag_eonline_learing {
    display: flex;
    width: 100%;
    height: auto;
    background-color: transparent;
    
    justify-content: space-between; /* Push elements apart */
    align-items: center;
    
}

.courses_bestseller {
    background-color: #007bff;
    padding: 2% 4% 2% 4%;
    width: fit-content;
    border-radius: 20px 0 20px 0;
    color: #fff;
    margin: 0%;
}

.courses_new {
    background-color: #ff9800;
    padding: 2% 4% 2% 4%;
    width: fit-content;
    border-radius: 20px 0 20px 0;
    color: #fff;
    
    margin: 0% 0% 0% auto;

    
}
#syllabus{
    margin-top: 10px;
    font-size: small;
    align-self: flex-end;
    border-left: 4px solid #ff9800;
    background: #aaaaaa;
    width: 100%;
}
#priceSlider{
    width: 100%;
    margin:0% 0.5% 0% 2%;
}
#priceInput{
    width: 100%;
    margin:0% 0% 0% 0.5%;
}
#priceSearchContainer{
    margin:0% 0.5% 0% auto;
    width: 50%;
    font-size:large;
    justify-content: flex-end;
}
#matchToggleContainer{
    margin:0% 2% 0% 2%;
    display: flex;
  align-items: center;
  gap: 6px;
    font-size:large;
    /*justify-content: flex-end;*/
}











.search-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    
    /*gap: 15px;*/
    /*background: linear-gradient(to right, #fdfbfb, #ebedee);*/
    /*padding: 20px;*/
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
    width:100%;
}

.search-controls select,
.search-controls input[type="text"],
.search-controls input[type="number"],
.search-controls input[type="range"] {
    border: 2px solid #FF8C00;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 16px;
    outline: none;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.search-controls select:focus,
.search-controls input:focus {
    border-color: #2ECC71;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
    background-color: #f9fff9;
}

.search-controls input[type="range"] {
    height: 8px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 10px;
    cursor: pointer;
}

.search-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background: #2ECC71;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.search-controls input[type="range"]:hover::-webkit-slider-thumb {
    background: #27ae60;
}

/* Entry animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}


