body {
    font-family: Arial, sans-serif;
    background-color: #004080;
    margin: 0;
    padding: 20px;
    color: #ffffff;
}

.container {
    max-width: 100%;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    color: #ffffff;
}

h1 {
    text-align: center;
    color: #ffffff;
}

.date,
.validity {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ffffff;
}

th, td {
    padding: 12px;
    border: 1px solid #ffffff;
    text-align: center;
    color: #ffffff;
}

th {
    background-color: transparent;
    color: #ffffff;
}

.flag {
    font-size: 1.5em;
}
.flag__img {
    max-width: 150px;
}

.legal,
.legal-header,
.info-box {
    background-color: transparent;
    border: 1px solid #ffffff;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    color: #ffffff;
}

.legal-header th,
.legal-header td {
    padding: 10px;
    border: 1px solid #ffffff;
    text-align: left;
    vertical-align: top;
    color: #ffffff;
}

.legal-header th {
    background-color: transparent;
    color: #ffffff;
    width: 200px;
}

.info-box hr {
    border: none;
    border-top: 1px dashed #ffffff;
    margin: 15px 0;
}
.container__info tr td{
    font-size: 36px;
    font-weight: bold;
}
.flag__img {
    max-width: 50px;
}
.container__info {
    font-size: 36px;
}
.container__info tr td {
    font-size: 20px;
}
td {
    padding: 5px;
}
.info-box__header {
    font-size: 10px;
}
.legal, .legal-header, .info-box {
    font-size: 10px;
}
.text_title {
    font-size: 14px !important;
}


.rate-main {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.rate-currency {
    font-size: 16px;
    color: #ffffff;
    margin-top: 6px;
}

.rate-divider {
    height: 1px;
    background: rgba(255,255,255,0.5);
    margin: 8px 0 6px;
}

.rate-sub {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}
.rate-cell {
    text-align: center;
}

.rate-main {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.rate-cur {
    font-size: inherit;
    font-weight: inherit;
    margin-right: 6px;
}

.rate-line {
    height: 2px;
    background: red;
    margin: 8px 0;
}

.rate-sub {
    font-size: 20px;
    font-weight: 700;
}

