.flag-icon {
    width: 30px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    margin: 0 5px;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.flag-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.flag-icon.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.language-flags {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-label {
    font-weight: 600;
    color: #4b5563;
    margin-right: 5px;
}

/* Dodatkowe style dla wyświetlania zysku/straty */
.profit-loss-indicator {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

.profit {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.loss {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Style dla markerów transakcji na wykresie */
.trade-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px white;
}

.trade-marker.buy {
    background-color: #10b981;
}

.trade-marker.sell {
    background-color: #ef4444;
}

.trade-marker.close {
    background-color: #000;
}

/* Linia ceny wejścia */
.entry-price-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #3b82f6;
    z-index: 5;
    left: 0;
    border-top: 1px dashed #3b82f6;
}

.entry-price-label {
    position: absolute;
    right: 10px;
    background-color: #3b82f6;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 6;
}
