.fcdivmain{
    text-align: center;
}

.fcdiv{
    display: inline-block;
    margin: auto;
    border: 1px solid #eee;
    padding: 0.5rem;
    border-radius: 3px;
}

.night .fcdiv{
    border:1px solid #444;
}

.fcdiv-a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.hrdiv{
    margin: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.night .hrdiv{
    border-bottom: 1px solid #444;
}

.fcdiv-a input{

}

.fcdiv-a>div:nth-child(1){
    width: 100%;
    max-width: 5rem;
}

.fcdiv-a>div:nth-child(2){
    width: 4rem;
}

.fcdiv-a>div:nth-child(3){
    width: 100%;
    max-width: 5rem;
}

.fcdiv-b{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.fcdiv-b button:nth-child(1){
    background-color: #607D8B;
}

.fcdiv-b button{
    display: block;
    text-align: center;
    text-decoration: none;
    border: 0;
    padding: 0.4rem 0.6rem;
    background-color: #10b981;
    color: #fff;
    border-radius: 3px;
    transition: background 0.3s;
    width: calc(50% - 0.25rem);
}

.fcdiv .layui-form-select dl dd{
    font-size: 1rem;
}
.fcdiv .layui-form-select .layui-input {
    font-size: 1rem;
}
/***************************************/

.result-carddiv{
    display: none;
}

.result-card{
    width: 100%;
    max-width: 16rem;
    margin: auto;
    border: 1px solid #eee;
    border-radius: 6px 6px 3px 3px;
    border-top: 3px solid #11b981;
}

.night .result-card{
    border: 1px solid #444;
}

.result-card:nth-child(1){
    margin: 0.75rem auto;
}

.result-card h3{
    font-size: 0.6rem;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #eee;
}

.night .result-card h3{
    border-bottom: 1px solid #444;
}

.result-card h3 span{
    float: right;
    color: #FF9800;
}

.result-number{
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

#resultDisplay{
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-fraction{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 1.2rem;
    padding: 0.75rem;
}

.result-fraction-line{
    width: 100%;
    height: 4px;
    background: #ef9b0b;
    border-radius: 2px;
}

#decimalSection{
    display: flex;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #eee;
    align-items: center;
}

.night #decimalSection{
    border-top: 1px solid #444;
}

#decimalValue{
    color: #FF9800;
    font-size: 0.7rem;
}

#stepsContent{
    padding: 0.5rem;
}

#stepsContent p{
    margin-bottom: 0.5rem;
}

#stepsContent p:last-child{
    margin-bottom: 0;
}


.radiogroup{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
}

.radiogroup>div{
    border: 1px solid #eee;
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.15rem;
    font-weight: bold;
    border-radius: 3px;
}

.night .radiogroup>div{
    border:1px solid #444;
}

.radiogroup>div.act{
    background-color: #795548;
    border: 1px solid #795548;
    color: #fff;
}

.hidden {
    display: none !important;
}