﻿/*form*/
.harmonyform{
    border: 1px solid gray;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: 2px 2px 1px rgb(86 86 86 / 12%) inset;
    backdrop-filter: blur(12px);
    border-radius: 5px;
    overflow: hidden;
}

.harmonyform .form-header{
    padding:1rem;
    font-size: 20px;
    background: #eee;
}
.harmonyform .section{
    padding: .5rem;
}
.harmonyform .section div.row:nth-child(n+1){
    margin-top: 1rem;
}

.harmonyform .section .row{
    gap: 5px;
}
.harmonyform .section .row .label{
    min-width: 50px;
}
.harmonyform .section .row:has(input[type="radio"]){
    display: flex;
}
.harmonyform .section .row:has(select){
    display: flex;
}
.harmonyform .section .row .field .input-width-default {
    border: 1px solid gray;
    border-radius: 5px;
}
.harmonyform .section .row span.red-star{
    color: red;
}
.harmonyform .section .row:has(input[type="button"]){
margin-bottom: 1.5rem;
}
.harmonyform .section .row .field{
    display: flex !important;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.harmonyform .submit-form{
    background: green;
    padding: .25rem 3rem;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
.harmonyform .section .row .field select{
  min-width: 100px;
    text-align: center;
}
.harmonyform .field input[type='text']{
    min-width: 100px;
    border: 1px solid gray;
    outline: 1px;
    border-radius: 5px;
    width: 270px;
    padding: .25rem;
}
.harmonyform .form-description{
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    padding: 1rem 0 .25rem 0;
}

@media screen and (min-width:1024px) {
    .harmonyform .section{
        display: grid;
        gap: .5rem;
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .harmonyform .section .row{
        grid-column: span 6 / span 6;
    }
    .harmonyform .section .row:has(input[type="button"]){
        grid-column: span 12 / span 12;
    }

    .harmonyform .section div.row:nth-child(even) .label{
        min-width: 70px;
    }

    .harmonyform .section .row .field{
        gap: 10px;
    }

    .harmonyform .section div.row:nth-child(even) .label{
        min-width: 70px;
    }
    .harmonyform .field input[type='text']{
        width: 100%;
    }
}

@media screen and (min-width:768px) {
    .harmonyform .section .row{
        display: flex;
        align-items: center
    }
    .harmonyform .section .row .label{
        min-width: 115px;
    }
}



/*form*/
