/* percent.html */

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

.percent-calc {
    max-width: 640px;
    margin: 0 auto 20px;
}

.percent-row {
    margin-bottom: 14px;
    padding: 14px 16px 16px;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    background: #fff;
}

.percent-row-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: bold;
    color: #1d3557;
}

.percent-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 17px;
}

.percent-line .form-control {
    width: 110px;
    height: 42px;
    font-size: 18px;
    text-align: center;
    direction: ltr;
}

.percent-line select.form-control {
    width: 130px;
    direction: inherit;
}

.percent-result {
    display: inline-block;
    min-width: 96px;
    min-height: 42px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #eef6ee;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    color: #1b6b2f;
    direction: ltr;
}

.percent-formula {
    padding: 8px 12px;
    border-radius: 8px;
    background: #f3f5f8;
    font-family: monospace;
    font-size: 16px;
    text-align: center;
}

.percent-examples li {
    margin-bottom: 8px;
}

.percent-question {
    margin: 18px 0 6px;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 480px) {
    .percent-line .form-control {
        width: 86px;
    }
}

.percent-line .form-control::placeholder {
    color: #b4bac3;
    opacity: 1;
}
