/**
 * CSS uses custom properties so you can override them in your theme
 * e.g. :root { --cpf-card-bg:#f8f9fa; --cpf-text:#111; }
 */
:root{
    --cpf-card-bg:#fff;
    --cpf-card-bg-dark:#1e1e1e;
    --cpf-text:#111;
    --cpf-text-dark:#fafafa;
    --cpf-green:#2e8b57;
    --cpf-red:#d63031;
    --cpf-shadow:0 1px 3px rgba(0,0,0,0.12);
}

.cpf-feed{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0px 0px 11px 12px;
    scrollbar-width: thin;
    scrollbar-color: #e6e6e6c7 #ffffff80;
    margin-bottom: 5px;
}

@media screen and (max-width: 767px) {
    .cpf-feed {
        padding-left: 10px;
		    scrollbar-color: #fff #fff;
    }

.cpf-card .cpf-price-block .cpf-price {
	color: #474545
}
}

@media only screen and (max-width: 1500px) and (min-width: 798px) {
 .cpf-feed{
    margin-left: -27px;
    margin-right: -20px;		
 }
 }

.cpf-card{
    /* min-width: 311px; */
    /* max-width: 300px; */
    padding: 5px 22px 6px 10px;
    border-radius: 34px;
    border-top: 1px solid #e5e5e5;
    background: var(--cpf-card-bg);
    color: var(--cpf-text);
    /* box-shadow: var(--cpf-shadow); */
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    transition: background 0.3s, color 0.3s;
}
body.dark-mode .cpf-card{
    background:var(--cpf-card-bg-dark);
    color:var(--cpf-text-dark);
    box-shadow:none;
}
.cpf-icon img{
    width: 35px;
    height: 35px;
    border-radius:50%;
}

.cpf-card .cpf-icon {
    width: 35px;
    height: 35px;
}

.cpf-info{
    flex: 1;
    margin: 0 12px 0 4px;
}
.cpf-name {
font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    display: flex;
    flex-direction: column-reverse;
    width: max-content;
}
.cpf-symbol{
    font-weight: 700;
    font-size: 15px;
    color: #1E77F9;
    margin-bottom: 4px;
}
body.dark-mode .cpf-symbol{
    color:#ccc;
}
.cpf-price{
    font-size:17px;
    margin-top:1px;
}
.cpf-change{
    font-weight:600;
    white-space:nowrap;
    display:flex;
    align-items:center;
    gap:4px;
    font-size:14px;
}
.cpf-change.cpf-up{
    color:var(--cpf-green);
}
.cpf-change.cpf-down{
    color:var(--cpf-red);
}

.cpf-price-block {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 14px;
}
.cpf-price-block .pricechangeblock.upgreen {
	color:#2e8b57;
}
.cpf-price-block .pricechangeblock.downred {
	color:#d63031;
}
.pricechangeblock {
    display: flex;
    flex-direction: row;
    gap: 0 8px;
}