.rc-container {
    max-width: 1000px;
    padding: 64px 28px;
    font-family: Inter, sans-serif;
}

.rc-container * {
    box-sizing: border-box;
}

.rc-container input{
    border: 1px solid #757575;
    text-align: center;
    padding: 3px 0;
}

.rc-container select {
    border: 1px solid #757575;
    padding: 3px 0;
}

.rc-container h1 {
    font-weight: bold;
    margin-bottom: 24px;
}

.rc-block {
    background: #F5F5F5;
    border-top: 1px solid #0A0A0A;
    padding: 24px;
    margin-bottom: 24px;
}

.rc-block-title {
    width: 100%;
    height: fit-content;
}

.rc-block-title p {
    border-radius: 4px;
    color: #FFFFFF;
    padding: 6px;
    background: #4C64AD;
    margin: 0;
    width: fit-content;
    font-weight: bold;
    text-transform: uppercase;
}

.rc-afu {
    display: grid;
    grid-template-columns: 1fr 1fr 40px 1fr 40px 1fr;
    white-space: nowrap;
    max-width: 70%;
    margin-bottom: 20px;
}

.rc-afu-bold {
    font-weight: bold;
}

.rc-afu > * {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: Inter, sans-serif;
}

.rc-afu p {
    font-weight: bold;
}

.rc-afu p:not(:first-child) {
    text-align: center;
}

.rc-fre-first {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.rc-fre-first:nth-child(3) {
    margin-bottom: 20px;
    display: flex;

}
.rc-fre-first:nth-child(3) > div {
    display: flex;
    gap: 20px;
}
.rc-fre-second {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 24px;
}
.rc-fre-second:nth-child(4) {
    margin-bottom: 10px;
}

.rc-fre-second div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.rc-fre-second div input {
    width: 6%;
}

.rc-fre-second p {
    margin: 0;
}
.rc-fre-second p,
.rc-fre-first p {
    font-weight: bold;
}
.rc-fre-mid p {
    font-weight: bold;
}

.rc-fre-mid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0;
    margin-top: 32px;
}

.rc-fre-mid input {
    width: 90%;
}

.rc-fre-mid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    white-space: nowrap;
}

.rc-fre-mid div p {
    margin: 0 0 10px;
}

.rc-fre-mid > p {
    display: flex;
    align-items: flex-end;
    margin: 0;
}

.rc-fre-low {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0;
    margin-top: 32px;
}

.rc-fre-mid span {
    grid-column: 5 / 9;
    font-size: 16px;
    margin-top: auto;
}
.rc-fre-mid label {
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin-top: auto;
}
.rc-fre-mid label p {
    margin: 0;
}
.rc-ful {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.rc-ful > *:nth-child(1),
.rc-ful > *:nth-child(2) {
    width: 18%;
}

.rc-ful > *:nth-child(4) {
    width: 46%;
}

.rc-ful div input {
    width: 20px;
}
.rc-ful p {
    font-weight: bold;
}

.rc-tot p {
    font-weight: bold;
}

.rc-tot {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rc-tot input {
    width: 70px;
    margin-right: 6px;
}

.rc-tot:not(:has(input)):last-child {
    margin-top: 24px;
}

.rc-tot div p {
    margin: 0;
    margin-bottom: 6px;
}

.rc-tot:has(div) {
    margin-top: 20px;
}