:root {
    --accent: #9fe870;
    --accent-hover: #80e142;
    --accent-active: #65cf21;
    --control: #163300;  
    --scrollbar-thumb: #C6CDC1;
    --secondary: #ECEFEB; 
    --secondary-hover: #E0E4DE;
    --secondary-active: #6c6c6b; 
    --content-primary: #0e0f0c;
}

body {
    display: flex;
    height: 100vh;
    min-width: 20rem;
    padding: 1rem;
    font-family: "Inter", sans-serif;
    color: var(--content-primary);
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.action-buttons {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 0.5rem;
    scroll-snap-align: start;
    width: 100%;
    flex-wrap: wrap;
}

.flag {
    object-fit: cover;
    width: 100%;
    border-radius: 50%;
    height: 3rem;
    min-width: 3rem;
    width: 3rem;
    border: 1px solid var(--secondary-hover);
}

.action-button {
    color: var(--control);
    border-radius: 1rem;
    height: 2rem;
    gap: 0.25rem;
    cursor: pointer;
    display: flex;
    padding: 0 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    align-items: center;
    text-decoration: none;
    background: var(--secondary);   
}

.action-button--primary:active {
    background: var(--accent-active);
}

.action-button:active {
    background: var(--secondary-active);
}

.action-button--horizontal-scroll {
    border-radius: 50%;
    cursor: pointer;
    border: none;
    outline: none;
    width: 2rem;
    height: 2rem;
    background: var(--accent);
}

@media screen and (max-width: 768px) {
    .action-button--horizontal-scroll {
        display: none;
    }
}

.action-button--horizontal-scroll:hover {
    background: var(--accent-hover);
}

.action-button--horizontal-scroll:active {
    background: var(--accent-active);
}

.action-button--horizontal-scroll:disabled {
    cursor: not-allowed;
    background: var(--secondary);
}

.action-button--horizontal-scroll:disabled
:hover {
    background: var(--secondary);
}

.action-button--horizontal-scroll:disabled
:active {
    background: var(--secondary);
}

#action-button--previous {
    margin-left: auto;
    transform: rotate(-90deg);
}

#action-button--next {
    transform: rotate(90deg);
}

.action-button:hover {
    background: var(--secondary-hover);
}

.action-button--primary {
    background: var(--accent);
}

.action-button--primary:hover {
    background: var(--accent-hover);
}

.action-button--primary:active {
    background: var(--accent-active);
}

#bank-accounts {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
    flex-direction: row;
    overflow: auto;
}

::-webkit-scrollbar {
    height: 0.6rem;
    background: var(--secondary);
    border-radius: 9.99rem;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 9.99rem;
}

.bank-account {
    appearance: none;
    text-decoration: none;
    position: relative;
    background: var(--secondary);
    padding: 1rem;
    border-radius: 1rem;
    height: 13rem;
    transition: all 0.2s ease-in-out;
    width: 13rem;
    display: flex;
    flex: 0 0 13rem;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
}

.bank-account h2 {
    color: var(--content-primary);
    font-size: 1.375rem;
    letter-spacing: normal;
    overflow-wrap: normal;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.25rem;
}

.bank-account .currency {
    color: var(--content-primary);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: -.006em;
    line-height: 133%;
}

.bank-account:hover {
    background: var(--secondary-hover);
}

.container {
    max-width: 45rem;
    width: 100%;
    min-width: 20rem;
    margin: 7.5rem auto;
}