/* Currency Exchange — Main Zone */

.cx-main-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: Roboto, sans-serif;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-main-wrap .cx-main-card {
    width: 80cqw;
    height: 80cqh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
    direction: ltr;
}

.cx-main-wrap .cx-main-from,
.cx-main-wrap .cx-main-to {
    flex: 0 0 35%;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3cqmin;
    gap: 2cqmin;
    overflow: hidden;
}

.cx-main-wrap .cx-main-flag {
    width: 20cqmin;
    height: 20cqmin;
    border-radius: 50%;
    box-shadow:
        0 0.6cqmin 0 rgba(0,0,0,0.3),
        0 0.8cqmin 0.8cqmin rgba(0,0,0,0.2),
        inset 0 0.2cqmin 0.3cqmin rgba(255,255,255,0.3),
        inset 0 -0.3cqmin 0.5cqmin rgba(0,0,0,0.15);
    transform: translateY(-0.2cqmin);
}

.cx-main-wrap .cx-main-name {
    font-family: Montserrat, sans-serif;
    font-size: 7cqmin !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.05em;
    background: var(--text);
    color: var(--bg);
    width: 100%;
    padding: 2cqmin 0;
    text-align: center;
    border-radius: 1.5cqmin;
    box-shadow:
        0 0.6cqmin 0 rgba(0,0,0,0.3),
        0 0.8cqmin 0.8cqmin rgba(0,0,0,0.2),
        inset 0 0.2cqmin 0.3cqmin rgba(255,255,255,0.3),
        inset 0 -0.3cqmin 0.5cqmin rgba(0,0,0,0.15);
    transform: translateY(-0.2cqmin);
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.cx-main-wrap .cx-main-price {
    font-family: Montserrat, sans-serif;
    font-size: 6cqmin !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    background: var(--accent);
    color: #fff;
    width: 100%;
    padding: 1.5cqmin 0;
    text-align: center;
    border-radius: 1.5cqmin;
    box-shadow:
        0 0.5cqmin 0 rgba(0,0,0,0.25),
        0 0.7cqmin 0.7cqmin rgba(0,0,0,0.15),
        inset 0 0.2cqmin 0.3cqmin rgba(255,255,255,0.3),
        inset 0 -0.3cqmin 0.5cqmin rgba(0,0,0,0.1);
    transform: translateY(-0.2cqmin);
    direction: ltr;
    unicode-bidi: embed;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.cx-main-wrap .cx-main-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2cqmin;
}

.cx-main-wrap .cx-main-arrow i {
    font-size: 25cqmin !important;
    color: var(--accent);
    text-shadow:
        0 0.6cqmin 0 rgba(0,0,0,0.3),
        0 0.8cqmin 0.8cqmin rgba(0,0,0,0.2);
}
