/* MENU ZAKŁADEK */
.investment-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    margin-top:20px;
}
.investment-menu-btn {
    padding: 8px 20px;
    border: none;
    background: #fffbea;
    color: #f7a900;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 1.5px 4px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}
.investment-menu-btn.inactive {
    background: #fff;
    color: #232323;
    box-shadow: none;
    border: 1px solid #eee;
}
.investment-menu-btn.active {
    background: #fff;
    color: rgba(159, 138, 61, 0.61);
    box-shadow: 0 0 8px 0 rgba(159, 138, 61, 0.61);
    transition: box-shadow 0.15s, border-color 0.15s, color 0.15s;
    border: none;
}
.investment-menu-btn:hover{
    box-shadow: 0 0 10px 0 rgba(255, 224, 102, 0.60);
    border-color: #ffe066;
    color: #b89b3e;
}
.investment-menu-link {
    padding: 8px 20px;
    border: none;
    background: #fff;
    color: #232323;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.15s;
    border: 1px solid #eee;
}
.investment-menu-link:hover {
    background: #f8f8f8;
}

/* DASHBOARD (SKRÓT) */
.dashboard-cards {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.dashboard-card {
    flex: 1 1 240px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(60,60,60,0.06);
    padding: 32px 28px 28px 28px;
    text-align: center;
    min-width: 240px;
    transition: box-shadow 0.18s;
}
.dashboard-card:hover {
    box-shadow: 0 4px 24px rgba(60,60,60,0.12);
}
.dashboard-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 12px;
    text-align: left;
}
.dashboard-card-value {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #232323;
    text-align: left;
}
.dashboard-card-sub {
    color: #888;
    font-size: 15px;
    margin-bottom: 0;
    text-align: left;
    padding-top:10px;
}
.dashboard-card-profit {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #19a05a;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 8px;
}
.dashboard-card-profit.negative {
    color: #d9534f;
}
.dashboard-card-profit .percent {
    font-size: 16px;
    font-weight: 500;
}
@media (max-width:900px) {
    .dashboard-cards { flex-direction: column; gap: 18px; }
    .dashboard-card { min-width: 0; }
}

/* PORTFEL - LISTA PRODUKTÓW */
.investment-wallet-item {
    display: flex;

    justify-content: space-between;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    background: #fff;
    max-width: 1100px;
    box-shadow: 0 1px 6px rgba(60, 60, 60, 0.03);
}
.investment-wallet-left {
    display: flex;
    align-items: center;
}
.investment-wallet-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    background: #f8f8f8;
    margin-right: 32px;
}
.investment-wallet-title {
    font-family: "Figtree";
    font-size: 18px;
    font-weight: 300;
    color: #232323;
    margin-bottom: 4px;
}
.investment-wallet-qty {
    color: #888;
    font-size: 15px;
    margin-bottom: 18px;
}
.investment-wallet-btn {
    padding: 7px 20px;
    border: none;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    border-radius: 6px;
    background: #fafafa;
    color: #232323;
    font-size: 15px;
    cursor: pointer;
    transition: box-shadow 0.2s ease-in-out;
}
.investment-wallet-btn:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.investment-wallet-right {
    margin-left:auto;
    text-align: right;
    min-width: 340px;
}
.investment-wallet-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}
.investment-wallet-label {
    color: #181818;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 2px;
}
.investment-wallet-value {
    font-size: 16px;
    margin-bottom: 6px;
}
investment-wallet-value b{
    font-weight: normal !important;
}
.investment-wallet-profit {
    margin-top: 10px;
    font-weight: 500;
    font-size: 16px;
}
.investment-wallet-profit .percent {
    margin-left: 6px;
}

/* PAGINACJA */
.custom-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 36px 0 0 0;
    justify-content: center;
    font-family: inherit;
}
.custom-pagination-btn,
.custom-pagination-page {
    min-width: 44px;
    height: 44px;
    padding: 0 0;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #232323;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 1.5px #ececec;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.custom-pagination-page.active {
    background: #232323;
    color: #fff !important;
    box-shadow: 0 0 0 2px #232323;
    cursor: default;
    pointer-events: none;
}
.custom-pagination-btn[disabled] {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
.custom-pagination-ellipsis {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 22px;
    font-weight: 500;
    user-select: none;
}

/* Ukrywanie/wyświetlanie sekcji */
.tab-section { display: none; }
.tab-section.active { display: block; }
#portfolio-autocomplete-list {
    top: 100%;
    left: 0;
    right: 0;
    position: absolute;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1051;
}

.investment-wallet-item.manual-portfolio {
 /*   border: 2px solid #ffe066 !important;
    box-shadow: 0 2px 12px rgba(255, 224, 102, 0.08);

  */
}

.investment-wallet-item.manual-portfolio {
  /*  border: 2px solid #ffe066 !important;
    background: #fffbe629;

   */
}



.metal-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;

}
.metal-tab {
    padding: 0px 10px;
    border: none;
    background: #fffbea;
    color: #f7a900;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    outline: none;
}
.metal-tab:not(.active) {
    background: #fff;
    color: #232323;
    box-shadow: none;
    border-bottom: 1.5px solid #ececec;
}
.metal-tab.active {
    background: #fffbea;
    color: #f7a900;

}
.metal-charts {
    background: #fff;
    border-radius: 0 0 16px 16px;
}
.metal-chart-panel {
    display: none;
}
.metal-chart-panel.active {
    display: block;
}
.konto_canvas{
    max-height:350px;
}
.link_zew {
   text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0px;
    cursor: pointer;
    outline: none;
    display: inline-block;
}

.link_zew:hover,
.link_zew:focus {
    color: #b89b3e;
}
#my-account #big_blog_footer .block_box {
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(60, 60, 60, 0.06);
}


.portfolio-menu-wrap {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.portfolio-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.15s;
}



.portfolio-menu-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 1.5px;
    background: #b89b3e;
    border-radius: 50%;
    vertical-align: middle;
}

.portfolio-menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 28px;
    min-width: 180px;
    background: #fff;
    border: 1px solid #f7e4a3;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(60,60,60,0.10);
    z-index: 20;
    padding: 8px 0;
}

.portfolio-menu-wrap.open .portfolio-menu-dropdown {
    display: block;
}

.portfolio-menu-link {
    display: block;
    width: 100%;
    padding: 10px 20px;
    color: #232323;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.12s;
}

.portfolio-menu-link:hover,
.portfolio-menu-link:focus {
    background: #fffbea;
    color: #b89b3e;
}

.portfolio-menu-delete {
    color: #d9534f;
}

.portfolio-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.15s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 32px;
    width: 32px;
}



.portfolio-menu-bar {
    display: block;
    width: 13px;
    height: 1px !important;
    margin: 1.9px 0;
    background: #000;
    border-radius: 2px;
    transition: background 0.12s;
}

