body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #d4d7d3;
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.main-container {
    width: 100%;
    height: 100%;
    background-color: #828d87;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-height: 100vh;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2rem;
    color: #a3f70f;
}

.tab-btn {
    text-decoration: none;
    color: #fff;
    position: absolute;
    top: 5px;
    right: 5px;
}

.spread-group {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.spread-item {
    width: 48%;
    background-color: #6d766f;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
}

.spread-item h2 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #fff;
}

.hedge-btn {
    display: block;
    width: 100%;
    background-color: #33432e;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 5px;
    margin: 10px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.rates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.rate-card {
    background-color: #a3a9a5;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100px;
}

.rate-card p {
    margin-bottom: 0 !important;
}

.card-header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    font-size: 0.9rem;
    color: #e8ede8;
}

.current-rate {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: left;
    margin: 10px 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 5px;
}

.footer-item p {
    margin: 0;
    text-align: right;
}

.footer-item .subtext {
    font-size: 0.75rem;
    color: #dcdedb;
}

.footer {
    text-align: center;
    margin-top: 20px;
}

.footer p {
    color: #a3f70f;
    cursor: pointer;
}

.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.loader {
    border: 16px solid #828d87;
    border-radius: 50%;
    border-top: 16px solid #f3f3f3;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.scroll-menu {
    margin: 20px;
    white-space: nowrap;
    overflow-x: scroll;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
}

.scroll-menu .scroll-item {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
}

.scroll-menu .scroll-item p {
    margin-bottom: 0 !important;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}