.drs-container {
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background-color: rgba(255, 255, 255, 0.06);
}

.range {
    width: 100%;
    margin: 20px 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border-radius: 13px !important;
    height: 24px !important;
}

.range:focus {
    outline: none;
}

/* Track */
.range::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #ccc;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.range::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #ccc;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* Thumb */
.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #4ebd36;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #4ebd36;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effects */
.range:hover::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(78, 189, 54, 0.2);
}

.range:hover::-moz-range-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(78, 189, 54, 0.2);
}

/* Active effects */
.range:active::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(78, 189, 54, 0.3);
}

.range:active::-moz-range-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(78, 189, 54, 0.3);
}

/* Progress (before the thumb) */
.range {
    --range-progress: 0%;
}

.range::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #4ebd36 var(--range-progress), #ccc var(--range-progress));
}

.range::-moz-range-track {
    background: linear-gradient(to right, #4ebd36 var(--range-progress), #ccc var(--range-progress));
}

/* Card Styles */
#drs-cards-container .card {
    height: 150px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#drs-cards-container .card-body {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 20px;
}

/* Center part-one content for all cards */
#drs-cards-container .part-one {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Card title styles */
#drs-cards-container .card-title {
    font-family: 'Objectivity';
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    color: #000;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card text styles */
#drs-cards-container .card-text {
    font-family: Objectivity;
    font-weight: 300;
    font-size: 25px;
    text-align: center;
    color: #000 !important;
    margin: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode #drs-cards-container .card-text {
    color: #000 !important;
}

/* First three cards - centered layout */
#drs-cards-container .col-md-4 .card-body {
    justify-content: center !important;
}

#drs-cards-container .col-md-4 .part-two {
    display: none !important;
}

/* Fourth card - two column layout */
#drs-cards-container .fourth-card .card-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#drs-cards-container .fourth-card .part-one {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
}

#drs-cards-container .fourth-card .part-two {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: 20px;
}

/* Button styles */
#drs-cards-container .part-two a {
    border-radius: 8px;
    background: #00ade6;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.16);
    border: 1px solid #00ade6;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#drs-cards-container .part-two a:hover {
    background: #0099cc;
    border-color: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive design */
@media (max-width: 768px) {
    #drs-cards-container .fourth-card .card-body {
        flex-direction: column;
        text-align: center;
    }
    
    #drs-cards-container .fourth-card .part-two {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }
    
    #drs-cards-container .card-title,
    #drs-cards-container .card-text {
        font-size: 20px;
        min-height: 50px;
    }
    
    #drs-cards-container .card {
        min-height: 130px;
    }
}