body {
    font-family: serif;
    margin: 20px;
}


.site-branding-text{
    margin-left: 20px;
    display: grid;
    float: left;
}

.site-branding-text h1 {
    color: #333;
    font-size: 2em;
}
        
.category_items{
    display: flex;
}

#flex-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 6fr)); 
    gap: 10px; 
    padding: 20px; 
    border: 1px solid #ccc; 
    background-color: DodgerBlue;
}

.parent-div{
    position: relative;
}

.monthmonth,
.monthyear,
.yearyear {
    font-weight: 600;
    margin-right: 5px;
}

.name-value {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff00d2;
    margin-top: 20px;
    /* min-height: 69px; */
}

.order-name-value{
    font-size: 20px;
    font-weight: 700;
    color: #ff00d2;
    text-align: center;
    margin-bottom: 10px;   
}

#flex-container > div {
    background-color: #f0f0f0;
    padding:10px 10px 50px 10px;
    border: 1px solid #aaa;
    text-align: left;
    font-size: 16px;
    position: relative;
}

#flex-container > div > form{
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
}

.item {
    display: flex;
}

#loadingSpinner {
    text-align: center;
    margin: 20px;
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-left: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;      
}

.order_item{
    margin-bottom: 10px;
}

.item1{
    margin-bottom: 10px;
}

.item2{
    margin-bottom: 10px;
    display: flex;
}

.mm-value input{
    width: 100%;
    padding: 10px 0px;
}

.flex-check{
    display: flex;
}

.text-center{
    text-align: center;
}

.order_btn{
    padding: 10px;
    cursor: pointer;
}

.mm-value {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mm-value label {
    max-width: 100%; /* Ensures the label doesn't exceed the container width */
}

.terms-label-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.terms-label-container label {
    max-width: 100%;
}


.tooltip-item{
    position: absolute;
    top: 5px;
    right: 10px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 2px 8px;
    border: solid 1px;
    border-radius: 50%;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 160px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tootip-icon{
    font-weight: 600;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}