﻿

/* Card Styling */
.card {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-body {
    padding: 20px;
    display: flex;
    overflow: auto;
}

/* Filter Section */
.filter-section {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.ranking-dropdown .col-4 {
    margin-bottom: 10px;
}

.ranking-dropdown .e-ddl.e-input-group.e-control-wrapper {
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

    .ranking-dropdown .e-ddl.e-input-group.e-control-wrapper::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 15%;
        width: 25%;
        height: 3px;
        background-color: #42A4F5;
        transform: translateX(-50%);
    }
/* Dropdown Styling */
.ejs-dropdownlist {
    width: 100%;
    border-radius: 5px;
    padding: 5px;
}

.filter-section .e-ddl.e-input-group.e-control-wrapper {
    border: 1px solid #BBDEFB !important;
    border-radius: 4px;
}

.ranking-info .e-ddl.e-input-group.e-control-wrapper {
    border-radius: 5px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Grid Section */
.content-section {
    background-color: #fff;
    border-radius: 10px;
    flex:1;
    height: calc(100% - 203px) !important;
}

.grid-content-section{
    height: 100%;
}
.ranking-grid-div {
    height: calc(100% - 133px) !important;
}
.ejs-grid {
    margin-top: 20px;
}

.ranking-info {
    margin: 20px 0;
}

/* Centered Illustration */
.row.justify-content-center {
    text-align: center;
    margin-top: 20px;
}

    .row.justify-content-center img {
        max-width: 80%;
        height: auto;
    }

.text-center h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

.text-center p {
    font-size: 16px;
    color: #666;
}

.details-container {
    padding: 10px 20px;
}

.link-p {
    padding: 15px;
    border-radius: 5px;
    background-color: #f0f8ff;
}

.view-results-link {
    color: #007bff;
    text-decoration: none;
}

.race-item {
    padding: 15px;
    border-radius: 5px;
    background-color: #f0f8ff;
}

    .race-item p {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .race-item h6 {
        font-weight: 600;
        margin-bottom: 10px;
    }

.race-details {
    font-size: 0.9rem;
}

.badge {
    font-weight: normal;
}

@media(max-width:575px) {
    .ranking-info .d-flex {
        flex-wrap: wrap;
    }

    .ranking-info .e-input-group {
        margin: 0 !important;
    }
}

