﻿/* Responsive Image Styles */
.responsive-image,
.responsive-card-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 1920px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: height 0.3s ease;
}

/* Responsive Card Media Specific Heights */
/*.responsive-card-media {
    height: 600px;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}*/

/* Banner Image Styles */
.banner-image {
    width: 100vw;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: scale-down;
    display: block;
    margin: 0 auto;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: white !important;
    color: inherit !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Mud Card Media Styling */
.mud-card-media {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Transparent Card */
.mud-card {
    background-color: transparent;
}

/* Media Queries */
@media (max-width: 1200px) {
    .responsive-card-media {
        height: 500px !important;
    }
}

@media (max-width: 960px) {
    .responsive-card-media {
        height: 400px !important;
    }
}

@media (max-width: 600px) {
    .responsive-image {
        max-height: 400px;
    }

    .responsive-card-media {
        height: 240px !important;
    }

    .banner-image {
        max-height: 160px;
    }
}

@media (max-width: 320px) {
    .responsive-card-media {
        height: 160px !important;
    }
}

/* Custom Bordered Section */
.bordered-section {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Section Title */
.section-title {
    position: relative;
    top: -20px;
    background-color: white;
    padding: 0 8px;
    font-weight: bold;
    display: inline-block;
    color: #333;
}

/* Custom Button */
.custom-button {
    transition: background-color 0.3s ease;
}

    .custom-button:hover {
        background-color: #e5002b !important;
    }

/* Custom Dialog Position */
.custom-dialog-position {
    transition: top 0.3s ease-in-out, left 0.3s ease-in-out;
}

/* Radio Group Styles */
.radio-group-container {
    width: 100%;
}

.radio-option {
    min-width: 200px;
    white-space: nowrap;
}

    .radio-option :deep(.mud-radio) {
        margin-right: 8px;
    }

    .radio-option :deep(.mud-radio-content) {
        white-space: nowrap;
    }
