.percent-calculator {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.percent-calculator * {
    box-sizing: border-box;
}

.percent-card {
    width: 100%;
    padding: 24px;
    border: 1px solid #e9edf3;
    border-radius: 10px;
    background-color: #fff;
}

.percent-card-title {
    margin: 0 0 20px;
    color: #333;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.percent-field + .percent-field {
    margin-top: 16px;
}

.percent-card .form-label {
    display: block;
    margin-bottom: 7px;
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.percent-card .form-control {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.percent-card .form-control:focus {
    border-color: #9aa7bd;
    box-shadow: 0 0 0 3px rgba(70, 85, 110, 0.08);
}

.percent-result {
    display: flex;
    align-items: center;
    min-height: 60px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    background-color: #f8fafc;
    color: #222;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
}

.percent-link-box {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    background-color: #fafbfd;
}

.percent-link-box__info {
    margin-bottom: 14px;
}

.percent-link-box__title {
    margin-bottom: 4px;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.percent-link-box__text {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.percent-link-box__button {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #2f3542;
    border-radius: 8px;
    background-color: #2f3542;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.percent-link-box__button:hover {
    background-color: #1f2530;
    border-color: #1f2530;
    color: #fff;
}

.percent-link-box__input {
    margin-top: 12px;
}

.percent-link-status {
    min-height: 20px;
    margin-top: 10px;
    color: #2f3542;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .percent-calculator {
        max-width: 100%;
    }

    .percent-card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .percent-card {
        padding: 16px;
        border-radius: 8px;
    }

    .percent-card-title {
        margin-bottom: 18px;
        font-size: 19px;
    }

    .percent-card .form-control {
        height: 44px;
        font-size: 15px;
    }

    .percent-result {
        min-height: 56px;
        padding: 13px 14px;
        font-size: 15px;
    }

    .percent-link-box {
        padding: 14px;
    }

    .percent-link-box__button {
        min-height: 44px;
        font-size: 14px;
    }
}